diff --git a/requirements-swh.txt b/requirements-swh.txt --- a/requirements-swh.txt +++ b/requirements-swh.txt @@ -1,2 +1,2 @@ -swh.core[db,http] >= 0.5 +swh.core[db,http] >= 0.14.0 swh.storage >= 0.11.1 diff --git a/swh/scheduler/pytest_plugin.py b/swh/scheduler/pytest_plugin.py --- a/swh/scheduler/pytest_plugin.py +++ b/swh/scheduler/pytest_plugin.py @@ -24,7 +24,7 @@ postgresql_scheduler = postgresql_fact( "postgresql_proc", - db_name="scheduler", + dbname="scheduler", dump_files=os.path.join(SQL_DIR, "*.sql"), no_truncate_tables={"dbversion", "priority_ratio"}, )