Test MKCOL in Radicale

This commit is contained in:
Markus Unterwaditzer 2015-03-23 17:48:47 +01:00
parent 8131166dce
commit fb5f093bdf

View file

@ -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()))