mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Fix logic
This commit is contained in:
parent
ea259f2785
commit
77a8cf8ff7
1 changed files with 2 additions and 1 deletions
|
|
@ -130,7 +130,8 @@ class TestCaldavStorage(DavStorageTests):
|
|||
monkeypatch.setattr(s, '_list', _list)
|
||||
|
||||
rv = list(s.list())
|
||||
if dav_server != 'radicale' or item.parsed.name in s.item_types:
|
||||
if (dav_server != 'radicale' and not s.item_types) \
|
||||
or item.parsed.name in s.item_types:
|
||||
assert rv == [(href, etag)]
|
||||
assert len(calls) == (len(item_types) or 1)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue