Skip to content

Commit

Permalink
Add test for stamped initialization issue (python-caldav#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwash committed Nov 28, 2023
1 parent caa4cde commit 584de64
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/test_vcal.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,17 @@ def test_vcal_fixups(self):
CATEGORIES:oslo
END:VEVENT
END:VCALENDAR
"""
""",
## Next one contains a DTSTAMP before BEGIN:VEVENT
## Doesn’t make sense, but valid, and more importantly,
## not failing during the `fix` call.
"""DTSTAMP:20210205T101751Z
BEGIN:VEVENT
UID:20200516T060000Z-123401@example.com
SUMMARY:Do the needful
DTSTART:20210517T060000Z
END:VEVENT
""",
]
broken_ical = [
## This first one contains duplicated DTSTAMP in the event data
Expand Down

0 comments on commit 584de64

Please sign in to comment.