Skip to content

Commit

Permalink
Update fixtures.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog authored Nov 13, 2024
1 parent 5e83310 commit 4b18147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brewtils/test/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def system_id():

@pytest.fixture
def ts_dt():
"""Jan 1, 2016 as a naive datetime."""
return datetime.fromtimestamp(ts_epoch / 1000, tz=timezone.utc)
"""Jan 1, 2016 as a UTC timezone-aware datetime."""
return datetime(2016, 1, 1, tzinfo=timezone.utc)


@pytest.fixture
Expand Down

0 comments on commit 4b18147

Please sign in to comment.