Skip to content

Commit bb7b2c9

Browse files
aseembits93Codeflash Bot
authored andcommitted
crosscheck
1 parent d904c23 commit bb7b2c9

File tree

2 files changed

+406
-309
lines changed

2 files changed

+406
-309
lines changed

codeflash/models/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ def file_to_no_of_tests(self, test_functions_to_remove: list[str]) -> Counter[Pa
679679
map_gen_test_file_to_no_of_tests = Counter()
680680
for gen_test_result in self.test_results:
681681
if (
682-
"__unit_test_" in str(gen_test_result.file_name)
682+
gen_test_result.test_type == TestType.GENERATED_REGRESSION
683683
and gen_test_result.id.test_function_name not in test_functions_to_remove
684684
):
685685
map_gen_test_file_to_no_of_tests[gen_test_result.file_name] += 1

0 commit comments

Comments
 (0)