File: test_issue_163_deleted_modification.py

package info (click to toggle)
python-recurring-ical-events 3.3.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,128 kB
  • sloc: python: 2,896; sh: 15; makefile: 3
file content (10 lines) | stat: -rw-r--r-- 390 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
"""EXDATE does not exclude a modified instance for an event with higher SEQUENCE and the same UID.

See https://github.com/niccokunzmann/python-recurring-ical-events/issues/163
"""


def test_exdate_excludes_modification(calendars):
    """The exdate should exclude the modification mentioned."""
    events = calendars.issue_163_deleted_modification.at("20240819")
    assert events == []