mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-03 10:25:51 +00:00
Create collections explicitly
This commit is contained in:
parent
264023c30d
commit
25f209c3ca
1 changed files with 6 additions and 1 deletions
|
|
@ -162,7 +162,12 @@ class StorageTests(object):
|
|||
# Create collections, but use the "collection" attribute because
|
||||
# Radicale requires file extensions in their names.
|
||||
collection = 'test{}'.format(i)
|
||||
s = self.storage_class(**get_storage_args(collection=collection))
|
||||
s = self.storage_class(
|
||||
**self.storage_class.create_collection(
|
||||
**get_storage_args(collection=collection)
|
||||
)
|
||||
)
|
||||
|
||||
items[s.collection] = [s.upload(get_item())]
|
||||
expected.add(s.collection)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue