Replace all remaining occurrences of the 'local' cls by 'postgresql'

The former has been deprecated for ages...
This commit is contained in:
David Douard 2024-10-28 14:30:11 +01:00
parent eadb704494
commit cccb8c21ff
9 changed files with 9 additions and 9 deletions

View file

@ -254,7 +254,7 @@ def test_lister_debian_instantiation_with_credentials(
def test_lister_debian_from_configfile(swh_scheduler_config, mocker):
load_from_envvar = mocker.patch("swh.lister.pattern.load_from_envvar")
load_from_envvar.return_value = {
"scheduler": {"cls": "local", **swh_scheduler_config},
"scheduler": {"cls": "postgresql", **swh_scheduler_config},
"credentials": {},
}
lister = DebianLister.from_configfile()