1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-15 20:36:55 +00:00
This commit is contained in:
Georgiy 2025-07-17 16:34:38 +03:00
parent e94aa1e7cf
commit 3a6c72e93a

View file

@ -393,6 +393,7 @@ permissions: RrWw""")
assert len(responses) == 1
assert "/test/calendar.ics" in responses
vevent_response = responses["/test/calendar.ics"]
assert type(vevent_response) is dict
status, element = vevent_response["C:calendar-data"]
assert status == 200 and element.text
assert "BEGIN:VEVENT" in element.text
@ -453,6 +454,7 @@ permissions: RrWw""")
assert status == 207
assert len(responses) == 1
response = responses["/test/calendar1.ics"]
assert type(response) is dict
status, element = response["C:calendar-data"]
assert status == 200 and element.text
assert "BEGIN:VEVENT" in element.text