mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
add test case for https://github.com/Kozea/Radicale/issues/1760
This commit is contained in:
parent
2d197d1ae0
commit
8382ee1223
1 changed files with 11 additions and 0 deletions
|
@ -1304,6 +1304,17 @@ permissions: RrWw""")
|
|||
</C:comp-filter>"""], "todo", items=range(1, 9))
|
||||
assert "/calendar.ics/todo7.ics" in answer
|
||||
|
||||
def test_time_range_filter_todos_completed(self) -> None:
|
||||
answer = self._test_filter(["""\
|
||||
<C:comp-filter name="VCALENDAR">
|
||||
<C:comp-filter name="VTODO">
|
||||
<C:prop-filter name="COMPLETED">
|
||||
<C:time-range start="20130918T000000Z" end="20130922T000000Z"/>
|
||||
</C:prop-filter>
|
||||
</C:comp-filter>
|
||||
</C:comp-filter>"""], "todo", items=range(1, 9))
|
||||
assert "/calendar.ics/todo6.ics" in answer
|
||||
|
||||
def test_time_range_filter_todos_rrule(self) -> None:
|
||||
"""Report request with time-range filter on todos with rrules."""
|
||||
answer = self._test_filter(["""\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue