mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-02 10:15:50 +00:00
Fix remoteStorage tests
This commit is contained in:
parent
36ffac8801
commit
61dce503a3
1 changed files with 2 additions and 1 deletions
|
|
@ -169,12 +169,13 @@ class StorageTests(object):
|
|||
assert self.storage_class.__name__ in repr(s)
|
||||
assert s.instance_name is None
|
||||
|
||||
def test_discover(self, requires_collections, get_storage_args):
|
||||
def test_discover(self, requires_collections, get_storage_args, get_item):
|
||||
collections = set()
|
||||
for i in range(1, 5):
|
||||
collection = 'test{}'.format(i)
|
||||
s = self.storage_class(**get_storage_args(collection=collection))
|
||||
assert not list(s.list())
|
||||
s.upload(get_item())
|
||||
collections.add(s.collection)
|
||||
|
||||
actual = set(
|
||||
|
|
|
|||
Loading…
Reference in a new issue