File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1010 MIN_TESTCASE_PASSED_THRESHOLD ,
1111 MIN_THROUGHPUT_IMPROVEMENT_THRESHOLD ,
1212)
13- from codeflash .models . models import TestType
13+ from codeflash .models import models
1414
1515if TYPE_CHECKING :
1616 from codeflash .models .models import CoverageData , OptimizedCandidateResult , OriginalCodeBaseline
@@ -106,7 +106,7 @@ def quantity_of_tests_critic(candidate_result: OptimizedCandidateResult | Origin
106106 if pass_count >= MIN_TESTCASE_PASSED_THRESHOLD :
107107 return True
108108 # If one or more tests passed, check if least one of them was a successful REPLAY_TEST
109- return bool (pass_count >= 1 and report [TestType .REPLAY_TEST ]["passed" ] >= 1 )
109+ return bool (pass_count >= 1 and report [models . TestType .REPLAY_TEST ]["passed" ] >= 1 )
110110
111111
112112def coverage_critic (original_code_coverage : CoverageData | None , test_framework : str ) -> bool :
You can’t perform that action at this time.
0 commit comments