X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2bab0ca060ff224091b20a0ac808a3febaba04b1..0af8dac3d35a94afe0b6ad775f3226d8d147501d:/test/python/api/test_warm.py diff --git a/test/python/api/test_warm.py b/test/python/api/test_warm.py index 304943f1..f0c9986d 100644 --- a/test/python/api/test_warm.py +++ b/test/python/api/test_warm.py @@ -27,7 +27,6 @@ def setup_database_with_context(apiobj, table_factory): @pytest.mark.parametrize('args', [['--search-only'], ['--reverse-only']]) def test_warm_all(tmp_path, args): - assert 0 == nominatim_db.cli.nominatim(module_dir='MODULE NOT AVAILABLE', - osm2pgsql_path='OSM2PGSQL NOT AVAILABLE', + assert 0 == nominatim_db.cli.nominatim(osm2pgsql_path='OSM2PGSQL NOT AVAILABLE', cli_args=['admin', '--project-dir', str(tmp_path), '--warm'] + args)