1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00
This commit is contained in:
Peter Bieringer 2025-04-22 21:32:13 +02:00
parent 12714cd25c
commit e144ecf06b

View file

@ -222,7 +222,7 @@ permissions: RrWw""")
event_modified = get_file_content("event1_modified.ics")
path = "/calendar.ics/event1.ics"
self.put(path, event)
self.put(path, event_modified)
self.put(path, event_modified, check=204)
_, answer = self.get("/calendar.ics/")
assert answer.count("BEGIN:VEVENT") == 1
_, answer = self.get(path)
@ -1594,8 +1594,8 @@ permissions: RrWw""")
self.put(event_path, event1)
sync_token, responses = self._report_sync_token(calendar_path)
assert len(responses) == 1 and responses[event_path] == 200
self.put(event_path, event2)
self.put(event_path, event1)
self.put(event_path, event2, check=204)
self.put(event_path, event1, check=204)
sync_token, responses = self._report_sync_token(
calendar_path, sync_token)
if not self.full_sync_token_support and not sync_token: