| 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 |