Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 4096022

Browse files
committed
linting
1 parent bf2de21 commit 4096022

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

api/public/v2/test_results/serializers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ def get_failure_rate(self, obj):
2525
total_runs = test_instances.count()
2626
if total_runs == 0:
2727
return 0.0
28-
2928
fail_count = test_instances.filter(outcome=TestInstance.Outcome.FAILURE.value).count()
30-
3129
return fail_count / total_runs
3230

3331
class Meta:

0 commit comments

Comments
 (0)