more tests for VTDO
This commit is contained in:
parent
a5d5cc8b2c
commit
e9948587a9
@ -20,7 +20,7 @@ RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
|
|||||||
END:STANDARD
|
END:STANDARD
|
||||||
END:VTIMEZONE
|
END:VTIMEZONE
|
||||||
BEGIN:VTODO
|
BEGIN:VTODO
|
||||||
DTSTART;TZID=Europe/Paris:20130901T180000
|
DTSTART;TZID=Europe/Paris:20130901T220000
|
||||||
DURATION:PT1H
|
DURATION:PT1H
|
||||||
END:VTODO
|
END:VTODO
|
||||||
END:VCALENDAR
|
END:VCALENDAR
|
||||||
|
@ -389,17 +389,17 @@ class BaseRequests:
|
|||||||
answer = self._test_filter(["""
|
answer = self._test_filter(["""
|
||||||
<C:comp-filter name="VCALENDAR">
|
<C:comp-filter name="VCALENDAR">
|
||||||
<C:comp-filter name="VTODO">
|
<C:comp-filter name="VTODO">
|
||||||
<C:time-range start="20130801T180000Z" end="20130801T000000Z"/>
|
<C:time-range start="20130901T160000Z" end="20130901T183000Z"/>
|
||||||
</C:comp-filter>
|
</C:comp-filter>
|
||||||
</C:comp-filter>"""],"todo", events=8)
|
</C:comp-filter>"""],"todo", events=4)
|
||||||
assert "href>/calendar.ics/todo1.ics</" not in answer
|
assert "href>/calendar.ics/todo1.ics</" not in answer
|
||||||
assert "href>/calendar.ics/todo2.ics</" not in answer
|
assert "href>/calendar.ics/todo2.ics</" in answer
|
||||||
assert "href>/calendar.ics/todo3.ics</" not in answer
|
assert "href>/calendar.ics/todo3.ics</" in answer
|
||||||
assert "href>/calendar.ics/todo4.ics</" not in answer
|
assert "href>/calendar.ics/todo4.ics</" not in answer
|
||||||
assert "href>/calendar.ics/todo5.ics</" not in answer
|
#~ assert "href>/calendar.ics/todo5.ics</" not in answer
|
||||||
assert "href>/calendar.ics/todo6.ics</" not in answer
|
#~ assert "href>/calendar.ics/todo6.ics</" not in answer
|
||||||
assert "href>/calendar.ics/todo7.ics</" not in answer
|
#~ assert "href>/calendar.ics/todo7.ics</" not in answer
|
||||||
assert "href>/calendar.ics/todo8.ics</" in answer
|
#~ assert "href>/calendar.ics/todo8.ics</" in answer
|
||||||
|
|
||||||
|
|
||||||
class TestMultiFileSystem(BaseRequests, BaseTest):
|
class TestMultiFileSystem(BaseRequests, BaseTest):
|
||||||
|
Loading…
Reference in New Issue
Block a user