Test time range filter with overwritten recurrence
This commit is contained in:
parent
748519e94d
commit
ae897c1cd3
@ -34,7 +34,7 @@ BEGIN:VEVENT
|
||||
UID:event7
|
||||
RECURRENCE-ID;TZID=Europe/Paris:20170702T080000
|
||||
DTSTART;TZID=Europe/Paris:20170702T080000
|
||||
DTEND;TZID=Europe/Paris:20170702T080000
|
||||
DTEND;TZID=Europe/Paris:20170702T090000
|
||||
CREATED:20170601T060000Z
|
||||
DTSTAMP:20170601T060000Z
|
||||
LAST-MODIFIED:20170601T060000Z
|
||||
|
@ -710,11 +710,11 @@ class BaseRequestsMixIn:
|
||||
answer = self._test_filter(["""
|
||||
<C:comp-filter name="VCALENDAR">
|
||||
<C:comp-filter name="VEVENT">
|
||||
<C:time-range start="20170701T080000Z"/>
|
||||
<C:time-range start="20170702T070000Z" end="20170704T060000Z"/>
|
||||
</C:comp-filter>
|
||||
</C:comp-filter>"""], items=(6, 7, 8))
|
||||
assert "href>/calendar.ics/event6.ics</" not in answer
|
||||
assert "href>/calendar.ics/event7.ics</" in answer
|
||||
assert "href>/calendar.ics/event7.ics</" not in answer
|
||||
assert "href>/calendar.ics/event8.ics</" not in answer
|
||||
|
||||
def test_time_range_filter_events_rrule(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user