From 90f48fe4c142da458b5d81949ec6b664095832b6 Mon Sep 17 00:00:00 2001 From: Jamie Matthews Date: Tue, 9 Apr 2024 09:27:48 +0100 Subject: [PATCH] Black formatting --- django_dbq/tests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/django_dbq/tests.py b/django_dbq/tests.py index 5ded5d7..5ed868c 100644 --- a/django_dbq/tests.py +++ b/django_dbq/tests.py @@ -17,6 +17,7 @@ utc = timezone.utc except AttributeError: from datetime import timezone as datetime_timezone + utc = datetime_timezone.utc @@ -238,7 +239,9 @@ def test_gets_jobs_in_priority_and_date_order(self): def test_ignores_jobs_until_run_after_is_in_the_past(self): job_1 = Job.objects.create(name="testjob") - job_2 = Job.objects.create(name="testjob", run_after=datetime(2021, 11, 4, 8, tzinfo=utc)) + job_2 = Job.objects.create( + name="testjob", run_after=datetime(2021, 11, 4, 8, tzinfo=utc) + ) with freezegun.freeze_time(datetime(2021, 11, 4, 7)): self.assertEqual(