mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
Add tests for conflicting UIDs and overwriting of items
This commit is contained in:
parent
b9bb017edf
commit
d3b90506f5
2 changed files with 90 additions and 24 deletions
|
@ -107,7 +107,7 @@ class BaseTest:
|
|||
def put(self, path, data, check=True, **args):
|
||||
status, _, answer = self.request("PUT", path, data, **args)
|
||||
self._check_status(status, 201, check)
|
||||
return status
|
||||
return status, answer
|
||||
|
||||
def propfind(self, path, data=None, check=True, **args):
|
||||
status, _, answer = self.request("PROPFIND", path, data, **args)
|
||||
|
@ -141,9 +141,9 @@ class BaseTest:
|
|||
return status, responses
|
||||
|
||||
def mkcalendar(self, path, data=None, check=True, **args):
|
||||
status, _, _ = self.request("MKCALENDAR", path, data, **args)
|
||||
status, _, answer = self.request("MKCALENDAR", path, data, **args)
|
||||
self._check_status(status, 201, check)
|
||||
return status
|
||||
return status, answer
|
||||
|
||||
def mkcol(self, path, data=None, check=True, **args):
|
||||
status, _, _ = self.request("MKCOL", path, data, **args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue