Skip to content

Commit

Permalink
Fix feedreader warning ?
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Nov 6, 2024
1 parent de97fa3 commit 6f2151d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/components/feedreader/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,33 +134,33 @@ async def test_feed_identical_timestamps(
assert events[0].data.id == "GUID 1"
assert events[1].data.id == "GUID 2"
assert (
events[0].data.updated_parsed.tm_year
== events[1].data.updated_parsed.tm_year
events[0].data.published_parsed.tm_year
== events[1].data.published_parsed.tm_year
== 2018
)
assert (
events[0].data.updated_parsed.tm_mon
== events[1].data.updated_parsed.tm_mon
events[0].data.published_parsed.tm_mon
== events[1].data.published_parsed.tm_mon
== 4
)
assert (
events[0].data.updated_parsed.tm_mday
== events[1].data.updated_parsed.tm_mday
events[0].data.published_parsed.tm_mday
== events[1].data.published_parsed.tm_mday
== 30
)
assert (
events[0].data.updated_parsed.tm_hour
== events[1].data.updated_parsed.tm_hour
events[0].data.published_parsed.tm_hour
== events[1].data.published_parsed.tm_hour
== 15
)
assert (
events[0].data.updated_parsed.tm_min
== events[1].data.updated_parsed.tm_min
events[0].data.published_parsed.tm_min
== events[1].data.published_parsed.tm_min
== 10
)
assert (
events[0].data.updated_parsed.tm_sec
== events[1].data.updated_parsed.tm_sec
events[0].data.published_parsed.tm_sec
== events[1].data.published_parsed.tm_sec
== 0
)

Expand Down

0 comments on commit 6f2151d

Please sign in to comment.