X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9734bbf2403146e914c34311beb314e36c735beb..b54ff7d7664eadf3fdf018622540d6fce835502e:/test/python/api/test_export.py 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')