| 1 | """This file tests the issue 15. |
| 2 | |
| 3 | See https://github.com/niccokunzmann/python-recurring-ical-events/issues/15 |
| 4 | |
| 5 | calendars = <conftest.ReversedCalendars object at 0x79c21bcb9b70> |
| 6 | |
| 7 | def test_rdate_does_not_double_rrule_entry(calendars): |
| 8 | > events = calendars.rdate.at("20140705") |
| 9 | |
| 10 | test/test_rdate.py:56: |
| 11 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 12 | recurring_ical_events.py:277: in at |
| 13 | return self.between(dt, dt + self._DELTAS[len(date) - 3]) |
| 14 | recurring_ical_events.py:306: in between |
| 15 | add_event(repetition.as_vevent()) |
| 16 | recurring_ical_events.py:292: in add_event |
| 17 | if event["SEQUENCE"] < other["SEQUENCE"]: |
| 18 | |
| 19 | """ |
| 20 | |
| 21 | |
| 22 | def test_sequence_is_not_present(calendars): |
| 23 | events = calendars.issue_15_duplicated_events.at("20130803") |
| 24 | assert len(events) == 3 |