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).
This commit is contained in:
parent
c1a3c10c5c
commit
1756e2efbf
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue