Bump ical to 7.0.3 to fix local-todo persisted with invalid DTSTART values (#113526)

This commit is contained in:
Allen Porter 2024-03-16 15:03:26 -07:00 committed by GitHub
parent ab9b64729a
commit a9da9ee443
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 38 additions and 5 deletions

View file

@ -671,6 +671,28 @@ async def test_move_item_previous_unknown(
),
"1",
),
(
textwrap.dedent(
"""\
BEGIN:VCALENDAR
PRODID:-//homeassistant.io//local_todo 2.0//EN
VERSION:2.0
BEGIN:VTODO
DTSTAMP:20231024T014011
UID:077cb7f2-6c89-11ee-b2a9-0242ac110002
CREATED:20231017T010348
LAST-MODIFIED:20231024T014011
SEQUENCE:1
STATUS:NEEDS-ACTION
SUMMARY:Task
DUE:20231024T113000
DTSTART;TZID=CST:20231024T113000
END:VTODO
END:VCALENDAR
"""
),
"1",
),
],
ids=(
"empty",
@ -679,6 +701,7 @@ async def test_move_item_previous_unknown(
"needs_action",
"migrate_legacy_due",
"due",
"invalid_dtstart_tzname",
),
)
async def test_parse_existing_ics(