mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-25 19:30:54 +00:00
Add more tests
This commit is contained in:
parent
09b021f33e
commit
f23b413cef
4 changed files with 8 additions and 7 deletions
|
@ -104,8 +104,8 @@ class BaseTest:
|
|||
self._check_status(status, 200, check)
|
||||
return status, answer
|
||||
|
||||
def post(self, path, check=True, **args):
|
||||
status, _, answer = self.request("POST", path, **args)
|
||||
def post(self, path, data=None, check=True, **args):
|
||||
status, _, answer = self.request("POST", path, data, **args)
|
||||
self._check_status(status, 200, check)
|
||||
return status, answer
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue