More tests for filtering calendars
This commit is contained in:
parent
ad0b4e5e85
commit
f7d942bfeb
@ -762,6 +762,13 @@ class BaseRequestsMixIn:
|
||||
assert "href>/calendar.ics/event3.ics</" in answer
|
||||
assert "href>/calendar.ics/event4.ics</" in answer
|
||||
assert "href>/calendar.ics/event5.ics</" in answer
|
||||
answer = self._test_filter(["""
|
||||
<C:comp-filter name="VCALENDAR">
|
||||
<C:comp-filter name="VTODO">
|
||||
<C:time-range start="20130801T000000Z" end="20131001T000000Z"/>
|
||||
</C:comp-filter>
|
||||
</C:comp-filter>"""], "event", items=range(1, 6))
|
||||
assert "href>/calendar.ics/event1.ics</" not in answer
|
||||
answer = self._test_filter(["""
|
||||
<C:comp-filter name="VCALENDAR">
|
||||
<C:comp-filter name="VEVENT">
|
||||
|
Loading…
Reference in New Issue
Block a user