1
0
Fork 0
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:
Unrud 2020-09-14 18:46:46 +02:00
parent 09b021f33e
commit f23b413cef
4 changed files with 8 additions and 7 deletions

View file

@ -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