Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gjohansson-ST committed Dec 12, 2023
1 parent 16881a4 commit 3483088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/components/time_date/test_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async def test_intervals(hass: HomeAssistant, freezer: FrozenDateTimeFactory) ->
now = dt_util.utc_from_timestamp(45.5)
freezer.move_to(now)
next_time = device.get_next_interval()
assert next_time == dt_util.parse_datetime("1971-01-01 00:01:00+00:00")
assert next_time == dt_util.parse_datetime("1970-01-01 00:01:00+00:00")

device = time_date.TimeDateSensor("date_time", "1234567890")
now = dt_util.utc_from_timestamp(1495068899)
Expand Down

0 comments on commit 3483088

Please sign in to comment.