mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Rename deleted item in test
The backend may derive the item name from the UID (e.g. "event1.ics" from the UID "event1").
This commit is contained in:
parent
f1350717ce
commit
5660f70753
1 changed files with 2 additions and 2 deletions
|
@ -133,13 +133,13 @@ class BaseRequestsMixIn:
|
|||
status, headers, answer = self.request("PUT", "/calendar.ics/", event)
|
||||
assert status == 201
|
||||
status, headers, answer = self.request(
|
||||
"PUT", "/calendar.ics/event1.ics", event)
|
||||
"PUT", "/calendar.ics/test_event.ics", event)
|
||||
assert status == 201
|
||||
# Overwrite
|
||||
status, headers, answer = self.request("PUT", "/calendar.ics/", event)
|
||||
assert status == 201
|
||||
status, headers, answer = self.request(
|
||||
"GET", "/calendar.ics/event1.ics")
|
||||
"GET", "/calendar.ics/test_event.ics")
|
||||
assert status == 404
|
||||
|
||||
def test_delete(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue