| 1 |
import pytest |
| 2 |
|
| 3 |
from recurring_ical_events.errors import BadRuleStringFormat |
| 4 |
|
| 5 |
|
| 6 |
def test_bad_rrule_until_format(calendars): |
| 7 |
with pytest.raises(BadRuleStringFormat, match=r"UNTIL parameter is missing"): |
| 8 |
calendars.bad_rrule_missing_until_event.at(2019) |