]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/api/test_warm.py
use word_token length when penalizing against postcodes
[nominatim.git] / test / python / api / test_warm.py
index 94081d00051ff5df17695b2168dc058795d6e459..02ca0766ce8d09b17362a4906e67419d69c4368d 100644 (file)
@@ -29,6 +29,5 @@ 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(osm2pgsql_path='OSM2PGSQL NOT AVAILABLE',
-                                           cli_args=['admin', '--project-dir', str(tmp_path),
+    assert 0 == nominatim_db.cli.nominatim(cli_args=['admin', '--project-dir', str(tmp_path),
                                                      '--warm'] + args)