mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-27 09:15:50 +00:00
More asserts
This commit is contained in:
parent
24ab255f41
commit
dc86368997
1 changed files with 1 additions and 0 deletions
|
|
@ -88,6 +88,7 @@ class DavStorageTests(StorageTests):
|
|||
|
||||
def x(method, path, data=None, headers=None):
|
||||
path = path or self.radicale_path
|
||||
assert isinstance(data, bytes) or data is None
|
||||
r = c.open(path=path, method=method, data=data, headers=headers)
|
||||
r = Response(r)
|
||||
return r
|
||||
|
|
|
|||
Loading…
Reference in a new issue