Add radicale multifilesystem to test matrix

This commit is contained in:
Markus Unterwaditzer 2014-11-30 13:41:09 +01:00
parent a29c60c58d
commit a7878c9342
2 changed files with 4 additions and 3 deletions

View file

@ -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
- BUILD=tests DAV_SERVER=radicale RADICALE_BACKEND=filesystem REQUIREMENTS=release PKGS='icalendar==3.6' - 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=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=radicale RADICALE_BACKEND=database REQUIREMENTS=devel
- BUILD=tests DAV_SERVER=owncloud REQUIREMENTS=release - BUILD=tests DAV_SERVER=owncloud REQUIREMENTS=release
#- BUILD=tests DAV_SERVER=baikal REQUIREMENTS=release #- BUILD=tests DAV_SERVER=baikal REQUIREMENTS=release

View file

@ -73,8 +73,8 @@ def do_the_radicale_dance(tmpdir):
except Exception as e: except Exception as e:
print(e) print(e)
if storage_backend == 'filesystem': if storage_backend in ('filesystem', 'multifilesystem'):
radicale.config.set('storage', 'type', 'filesystem') radicale.config.set('storage', 'type', storage_backend)
radicale.config.set('storage', 'filesystem_folder', tmpdir) radicale.config.set('storage', 'filesystem_folder', tmpdir)
elif storage_backend == 'database': elif storage_backend == 'database':
radicale.config.set('storage', 'type', 'database') radicale.config.set('storage', 'type', 'database')
@ -86,7 +86,7 @@ def do_the_radicale_dance(tmpdir):
s.execute(line) s.execute(line)
s.commit() s.commit()
else: else:
raise RuntimeError() raise RuntimeError(storage_backend)
class ServerMixin(object): class ServerMixin(object):