1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-12 20:30:57 +00:00

Add more tests

This commit is contained in:
Unrud 2020-09-14 18:46:46 +02:00
parent d3bb19800c
commit 80e8750c8a
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