mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +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):
|
def x(method, path, data=None, headers=None):
|
||||||
path = path or self.radicale_path
|
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 = c.open(path=path, method=method, data=data, headers=headers)
|
||||||
r = Response(r)
|
r = Response(r)
|
||||||
return r
|
return r
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue