]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/test_db_connection.py
better error reporting when API script does not exist
[nominatim.git] / test / python / test_db_connection.py
index 41978e59135513682cb04bc088d00338df78c499..00c29a43a9a8bdf32f9531199ac0b6335fb5a502 100644 (file)
@@ -100,6 +100,6 @@ def test_get_pg_env_overwrite_variable(monkeypatch):
 
 
 def test_get_pg_env_ignore_unknown():
 
 
 def test_get_pg_env_ignore_unknown():
-    env = get_pg_env('tty=stuff', base_env={})
+    env = get_pg_env('client_encoding=stuff', base_env={})
 
     assert env == {}
 
     assert env == {}