X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c314a3092c5b51c7782015f6fa9ac093b46fa174..0af8dac3d35a94afe0b6ad775f3226d8d147501d:/test/python/api/test_export.py?ds=sidebyside diff --git a/test/python/api/test_export.py b/test/python/api/test_export.py index 1d9bf90f..b0da52ce 100644 --- a/test/python/api/test_export.py +++ b/test/python/api/test_export.py @@ -14,8 +14,7 @@ import nominatim_db.cli @pytest.fixture def run_export(tmp_path, capsys): def _exec(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=['export', '--project-dir', str(tmp_path)] + args) return capsys.readouterr().out.split('\r\n')