]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/api/test_api_status.py
get bbox of postcode areas into results
[nominatim.git] / test / python / api / test_api_status.py
index 5412ca6e334fad5f8932379a274a7f65284182d2..9341b52774f5cfe5c0170dff72e743e1a4be1685 100644 (file)
@@ -7,7 +7,6 @@
 """
 Tests for the status API call.
 """
-from pathlib import Path
 import datetime as dt
 import pytest
 
@@ -46,7 +45,7 @@ def test_status_full(apiobj, frontend):
 def test_status_database_not_found(monkeypatch):
     monkeypatch.setenv('NOMINATIM_DATABASE_DSN', 'dbname=rgjdfkgjedkrgdfkngdfkg')
 
-    api = napi.NominatimAPI(Path('/invalid'), {})
+    api = napi.NominatimAPI()
 
     result = api.status()