Skip to content

Commit 3837893

Browse files
Calling object after being instantiated. (#291)
1 parent 53f72c7 commit 3837893

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cover_agent/CoverAgent.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ def __init__(self, args, agent_completion: AgentCompletionABC = None):
3333
self._validate_paths()
3434
self._duplicate_test_file()
3535

36-
# To run only a single test file, we need to modify the test command
37-
self.parse_command_to_run_only_a_single_test(args)
38-
3936
# Configure the AgentCompletion object
4037
if agent_completion:
4138
self.agent_completion = agent_completion
@@ -78,6 +75,9 @@ def __init__(self, args, agent_completion: AgentCompletionABC = None):
7875
agent_completion=self.agent_completion,
7976
)
8077

78+
# To run only a single test file, we need to modify the test command
79+
self.parse_command_to_run_only_a_single_test(args)
80+
8181
def parse_command_to_run_only_a_single_test(self, args):
8282
test_command = args.test_command
8383
new_command_line = None

cover_agent/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.0
1+
0.3.1

0 commit comments

Comments
 (0)