Commit 12af2886 authored by Sylvain Thenault's avatar Sylvain Thenault Committed by Denis Laxalde
Browse files

Fix tests

parent c14203c8
......@@ -24,7 +24,7 @@ def test_pip_packages(PipPackage):
packages = PipPackage.get_packages(pip_path='/home/saemref/venv/bin/pip')
assert packages['cubicweb']['version'].startswith("3.24")
assert map(int, packages['cubicweb']['version'].split('.')) >= [3, 24, 5]
assert packages['cubicweb-saem-ref'].startswith("0.14.0")
assert packages['cubicweb-saem-ref']['version'].startswith("0.14.0")
@pytest.mark.parametrize("name, version", [
......@@ -80,5 +80,5 @@ def test_saemref_running(Process, Service, Socket, Command, supervisor_service_n
def test_saemref_sync_source_cronjob(Command):
jobs = Command.check_output("crontab -u saemref -l").splitlines()
assert '* */1 * * * CW_MODE=user cubicweb-ctl source-sync --loglevel error saemref' in jobs
jobs = Command.check_output("crontab -u saemref -l")
assert 'cubicweb-ctl source-sync --loglevel error saemref' in jobs
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment