]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/api/test_api_status.py
restrict use of os.environ in Configuration
[nominatim.git] / test / python / api / test_api_status.py
index 29eb34d0c9a8b82a7ab6d66e92b5199e7d3c7569..9341b52774f5cfe5c0170dff72e743e1a4be1685 100644 (file)
@@ -45,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(environ={})
+    api = napi.NominatimAPI()
 
     result = api.status()