diff options
Diffstat (limited to 'tests/models/morning')
| -rw-r--r-- | tests/models/morning/test.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/models/morning/test.py b/tests/models/morning/test.py index bedf9c2..c1141fb 100644 --- a/tests/models/morning/test.py +++ b/tests/models/morning/test.py @@ -1,4 +1,6 @@ -from datetime import datetime, timezone +from __future__ import annotations + +from datetime import UTC, datetime from generalresearch.models.morning.question import MorningQuestion @@ -163,8 +165,8 @@ bid = { # what gets run in MorningAPI._format_bid bid["language_isos"] = ("eng",) bid["country_iso"] = "us" -bid["end_date"] = datetime(2024, 7, 19, 9, 1, 13, 520243, tzinfo=timezone.utc) -bid["published_at"] = datetime(2024, 6, 19, 9, 1, 13, 520243, tzinfo=timezone.utc) +bid["end_date"] = datetime(2024, 7, 19, 9, 1, 13, 520243, tzinfo=UTC) +bid["published_at"] = datetime(2024, 6, 19, 9, 1, 13, 520243, tzinfo=UTC) bid.update(bid["statistics"]) bid["qualified_conversion"] /= 100 bid["system_conversion"] /= 100 |
