Skip to content

Commit 6390d6b

Browse files
committed
Ok - generate the report score, but just don't show it when printing out the tree.
1 parent 962db50 commit 6390d6b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

codeflash/verification/test_results.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,6 @@ def number_of_loops(self) -> int:
144144
def get_test_pass_fail_report_by_type(self) -> dict[TestType, dict[str, int]]:
145145
report = {}
146146
for test_type in TestType:
147-
if test_type == TestType.INIT_STATE_TEST:
148-
continue
149147
report[test_type] = {"passed": 0, "failed": 0}
150148
for test_result in self.test_results:
151149
if test_result.loop_index == 1:
@@ -168,7 +166,7 @@ def report_to_string(report: dict[TestType, dict[str, int]]) -> str:
168166
def report_to_tree(report: dict[TestType, dict[str, int]], title: str) -> Tree:
169167
tree = Tree(title)
170168
for test_type in TestType:
171-
if test_type == TestType.INIT_STATE_TEST:
169+
if test_type is TestType.INIT_STATE_TEST:
172170
continue
173171
tree.add(
174172
f"{test_type.to_name()} - Passed: {report[test_type]['passed']}, Failed: {report[test_type]['failed']}"

0 commit comments

Comments
 (0)