mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
pep fix
This commit is contained in:
parent
e94aa1e7cf
commit
3a6c72e93a
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue