(#1979) test for overridden all day rrule event
This commit is contained in:
21
radicale/tests/static/event_full_day_rrule_overridden.ics
Normal file
21
radicale/tests/static/event_full_day_rrule_overridden.ics
Normal file
@@ -0,0 +1,21 @@
|
||||
BEGIN:VCALENDAR
|
||||
VERSION:2.0
|
||||
PRODID:-//Radicale//Test//EN
|
||||
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20060102
|
||||
DTEND;VALUE=DATE:20060103
|
||||
RRULE:FREQ=DAILY;COUNT=3
|
||||
UID:event_full_day_rrule_overridden
|
||||
SUMMARY:All day recurring
|
||||
END:VEVENT
|
||||
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20060110
|
||||
DTEND;VALUE=DATE:20060111
|
||||
RECURRENCE-ID;VALUE=DATE:20060103
|
||||
UID:event_full_day_rrule_overridden
|
||||
SUMMARY:Overridden instance
|
||||
END:VEVENT
|
||||
|
||||
END:VCALENDAR
|
||||
@@ -512,3 +512,15 @@ permissions: RrWw""")
|
||||
status, event2_calendar_data = responses["/test/event2.ics"]["C:calendar-data"]
|
||||
assert event2_calendar_data.text
|
||||
assert "UID:c6be8b2c-3d72-453c-b698-4f25cdf1569e" in event2_calendar_data.text
|
||||
|
||||
def test_report_with_expand_property_all_day_event_overridden(self) -> None:
|
||||
self._test_expand(
|
||||
"event_full_day_rrule_overridden",
|
||||
"20060101T000000Z",
|
||||
"20060111T235959Z",
|
||||
["RECURRENCE-ID:20060102", "RECURRENCE-ID:20060104", "RECURRENCE-ID:20060103"],
|
||||
["DTSTART:20060102", "DTSTART:20060104", "DTSTART:20060110"],
|
||||
["DTEND:20060103", "DTEND:20060105", "DTEND:20060111"],
|
||||
ONLY_DATES,
|
||||
2
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user