Test empty filter

Test for d1dbd1df54
This commit is contained in:
Unrud 2016-08-24 17:52:39 +02:00
parent d1dbd1df54
commit f9cabfb20b

View File

@ -267,6 +267,9 @@ class BaseRequestsMixIn:
</C:calendar-query>""" % filters_text) </C:calendar-query>""" % filters_text)
return answer return answer
def test_calendar_empty_filter(self):
self._test_filter([""])
def test_calendar_tag_filter(self): def test_calendar_tag_filter(self):
"""Report request with tag-based filter on calendar.""" """Report request with tag-based filter on calendar."""
assert "href>/calendar.ics/event1.ics</" in self._test_filter([""" assert "href>/calendar.ics/event1.ics</" in self._test_filter(["""