addign test for vjournal filtering
This commit is contained in:
parent
38845da762
commit
32b2ecccc9
@ -371,6 +371,15 @@ class BaseRequests:
|
||||
assert "href>/calendar.ics/event4.ics</" not in answer
|
||||
assert "href>/calendar.ics/event5.ics</" not in answer
|
||||
|
||||
answer = self._test_filter(["""
|
||||
<C:comp-filter name="VCALENDAR">
|
||||
<C:comp-filter name="VJOURNAL">
|
||||
<C:time-range start="19991229T000000Z" end="20000202T000000Z"/>
|
||||
</C:comp-filter>
|
||||
</C:comp-filter>"""], "journal", events=1)
|
||||
assert "href>/calendar.ics/journal1.ics</" in answer
|
||||
# assert "href>/calendar.ics/journal2.ics</" not in answer
|
||||
|
||||
|
||||
class TestMultiFileSystem(BaseRequests, BaseTest):
|
||||
"""Base class for filesystem tests."""
|
||||
|
Loading…
Reference in New Issue
Block a user