mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-07 18:30:54 +00:00
Test calendar with case-sensitive-UIDs
This commit is contained in:
parent
3c218ecd9c
commit
ed8a2284a4
2 changed files with 23 additions and 0 deletions
|
@ -243,6 +243,13 @@ permissions: RrWw""")
|
|||
for uid2 in uids[i + 1:]:
|
||||
assert uid1 != uid2
|
||||
|
||||
def test_put_whole_calendar_case_sensitive_uids(self) -> None:
|
||||
"""Create a whole calendar with case-sensitive UIDs."""
|
||||
events = get_file_content("event_multiple_case_sensitive_uids.ics")
|
||||
self.put("/calendar.ics/", events)
|
||||
_, answer = self.get("/calendar.ics/")
|
||||
assert "\r\nUID:event\r\n" in answer and "\r\nUID:EVENT\r\n" in answer
|
||||
|
||||
def test_put_whole_addressbook(self) -> None:
|
||||
"""Create and overwrite a whole addressbook."""
|
||||
contacts = get_file_content("contact_multiple.vcf")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue