Skip to content

Commit

Permalink
Fix fyta test timezone handling (#116689)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p authored and frenck committed May 3, 2024
1 parent 7a56ba1 commit a4f9a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/components/fyta/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
USERNAME = "fyta_user"
PASSWORD = "fyta_pass"
ACCESS_TOKEN = "123xyz"
EXPIRATION = datetime.fromisoformat("2024-12-31T10:00:00").astimezone(UTC)
EXPIRATION = datetime.fromisoformat("2024-12-31T10:00:00").replace(tzinfo=UTC)


async def test_user_flow(
Expand Down

0 comments on commit a4f9a64

Please sign in to comment.