mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Add radicale multifilesystem to test matrix
This commit is contained in:
parent
a29c60c58d
commit
a7878c9342
2 changed files with 4 additions and 3 deletions
|
|
@ -7,6 +7,7 @@ env:
|
|||
- BUILD=tests DAV_SERVER=radicale RADICALE_BACKEND=filesystem REQUIREMENTS=release
|
||||
- BUILD=tests DAV_SERVER=radicale RADICALE_BACKEND=filesystem REQUIREMENTS=release PKGS='icalendar==3.6'
|
||||
- BUILD=tests DAV_SERVER=radicale RADICALE_BACKEND=filesystem REQUIREMENTS=devel
|
||||
- BUILD=tests DAV_SERVER=radicale RADICALE_BACKEND=multifilesystem REQUIREMENTS=devel
|
||||
- BUILD=tests DAV_SERVER=radicale RADICALE_BACKEND=database REQUIREMENTS=devel
|
||||
- BUILD=tests DAV_SERVER=owncloud REQUIREMENTS=release
|
||||
#- BUILD=tests DAV_SERVER=baikal REQUIREMENTS=release
|
||||
|
|
|
|||
|
|
@ -73,8 +73,8 @@ def do_the_radicale_dance(tmpdir):
|
|||
except Exception as e:
|
||||
print(e)
|
||||
|
||||
if storage_backend == 'filesystem':
|
||||
radicale.config.set('storage', 'type', 'filesystem')
|
||||
if storage_backend in ('filesystem', 'multifilesystem'):
|
||||
radicale.config.set('storage', 'type', storage_backend)
|
||||
radicale.config.set('storage', 'filesystem_folder', tmpdir)
|
||||
elif storage_backend == 'database':
|
||||
radicale.config.set('storage', 'type', 'database')
|
||||
|
|
@ -86,7 +86,7 @@ def do_the_radicale_dance(tmpdir):
|
|||
s.execute(line)
|
||||
s.commit()
|
||||
else:
|
||||
raise RuntimeError()
|
||||
raise RuntimeError(storage_backend)
|
||||
|
||||
|
||||
class ServerMixin(object):
|
||||
|
|
|
|||
Loading…
Reference in a new issue