Debian Codegraph @

recurring_ical_events/test/test_issue_139_no_duration.py

raw symbols SCIP
1 """We want to check that the DURATION is removed.
2
3 See https://github.com/niccokunzmann/python-recurring-ical-events/issues/139
4 """
5
6
7 def test_no_duration_in_event(calendars):
8 """Check that there is no DURATION in the event."""
9 for event in calendars.duration.all():
10 assert "DURATION" not in event
11 assert "DTEND" in event