mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Test MKCOL in Radicale
This commit is contained in:
parent
8131166dce
commit
fb5f093bdf
1 changed files with 3 additions and 2 deletions
|
|
@ -116,8 +116,9 @@ class ServerMixin(object):
|
||||||
'collection': collection, 'unsafe_href_chars': ''}
|
'collection': collection, 'unsafe_href_chars': ''}
|
||||||
|
|
||||||
if collection is not None:
|
if collection is not None:
|
||||||
# XXX: Create collection, works around
|
if storage_backend != 'multifilesystem':
|
||||||
# https://github.com/Kozea/Radicale/pull/236
|
# XXX: https://github.com/Kozea/Radicale/pull/236
|
||||||
|
rv = self.storage_class.create_collection(**rv)
|
||||||
s = self.storage_class(**rv)
|
s = self.storage_class(**rv)
|
||||||
s.delete(*s.upload(get_item()))
|
s.delete(*s.upload(get_item()))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue