Skip to content

refactor: remove CLI coverage functionality #298

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cardano_clusterlib/clusterlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from cardano_clusterlib.consts import MultiSlotTypeArgs
from cardano_clusterlib.consts import ScriptTypes
from cardano_clusterlib.consts import Votes
from cardano_clusterlib.coverage import record_cli_coverage
from cardano_clusterlib.exceptions import CLIError
from cardano_clusterlib.helpers import get_rand_str
from cardano_clusterlib.helpers import read_address_from_file
Expand Down
4 changes: 0 additions & 4 deletions cardano_clusterlib/clusterlib_klass.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from cardano_clusterlib import clusterlib_helpers
from cardano_clusterlib import consts
from cardano_clusterlib import conway_gov_group
from cardano_clusterlib import coverage
from cardano_clusterlib import exceptions
from cardano_clusterlib import genesis_group
from cardano_clusterlib import governance_group
Expand Down Expand Up @@ -58,7 +57,6 @@ def __init__(
self.cluster_id = 0 # Can be used for identifying cluster instance
# Number of new blocks before the Tx is considered confirmed
self.confirm_blocks = consts.CONFIRM_BLOCKS_NUM
self.cli_coverage: dict = {}
self._rand_str = helpers.get_rand_str(4)
self._cli_log = ""
self.era_in_use = (
Expand Down Expand Up @@ -263,8 +261,6 @@ def cli(
clusterlib_helpers._write_cli_log(clusterlib_obj=self, command=cmd_str)
LOGGER.debug("Running `%s`", cmd_str)

coverage.record_cli_coverage(cli_args=cli_args_strs_all, coverage_dict=self.cli_coverage)

# Re-run the command when running into
# Network.Socket.connect: <socket: X>: resource exhausted (Resource temporarily unavailable)
# or
Expand Down
36 changes: 0 additions & 36 deletions cardano_clusterlib/coverage.py

This file was deleted.

Loading