File: test_end_before_start_event.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 (8 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
import pytest

from recurring_ical_events import PeriodEndBeforeStart


def test_end_before_start_event(calendars):
    with pytest.raises(PeriodEndBeforeStart):
        calendars.end_before_start_event.at(2019)