Skip to content

Commit 488d4fa

Browse files
Use the to_name()
1 parent a6da525 commit 488d4fa

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

codeflash/github/PrComment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def to_json(self) -> dict[str, Union[dict[str, dict[str, int]], int, str]]:
2424
report_table = {
2525
test_type.to_name(): result
2626
for test_type, result in self.winning_behavioral_test_results.get_test_pass_fail_report_by_type().items()
27-
if test_type.should_display_result()
27+
if test_type.to_name()
2828
}
2929

3030
return {

codeflash/verification/test_results.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ class TestType(Enum):
3030
CONCOLIC_COVERAGE_TEST = 5
3131
INIT_STATE_TEST = 6
3232

33-
def should_display(self) -> bool:
34-
return self != TestType.INIT_STATE_TEST
35-
3633
def to_name(self) -> str:
3734
if self == TestType.INIT_STATE_TEST:
3835
return ""

0 commit comments

Comments
 (0)