Skip to content
Snippets Groups Projects
Commit 1756e2ef authored by David Douard's avatar David Douard
Browse files

Fix tests: config change lister_db_url -> lister had not been applied in tests

making 2 of them fail (in test_bb_lister.py and test_gh_lister.py).
parent c1a3c10c
No related branches found
No related tags found
No related merge requests found
......@@ -214,7 +214,12 @@ class HttpListerTester(HttpListerTesterBase, abc.ABC):
initdb_args = ' '.join([initdb_args, '-E UTF-8'])
db = Postgresql(initdb_args=initdb_args)
fl = self.get_fl(override_config={'lister_db_url': db.url()})
fl = self.get_fl(override_config={
'lister': {
'cls': 'local',
'args': {'db': db.url()}
}
})
self.init_db(db, fl.MODEL)
self.disable_storage_and_scheduler(fl)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment