Skip to content

Commit

Permalink
Merge branch 'main' into sep_12_empty_upload_debug
Browse files Browse the repository at this point in the history
  • Loading branch information
JerrySentry authored Sep 12, 2024
2 parents b4052d1 + a182d7c commit 13fd77d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions utils/test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ def aggregate_test_results(
"""
time_ago = (
dt.datetime.now(dt.UTC) - dt.timedelta(days=30)
if history is not None
else thirty_days_ago
(dt.datetime.now(dt.UTC) - history) if history is not None else thirty_days_ago
)

pass_failure_error_test_instances = TestInstance.objects.filter(
Expand Down

0 comments on commit 13fd77d

Please sign in to comment.