From: Sarah Hoffmann Date: Fri, 1 Oct 2021 08:51:41 +0000 (+0200) Subject: replace test variable for PG env tests X-Git-Tag: v4.0.0~23^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/6b348d43c61bc825c8d9cd208b1ef34c8d7951fa replace test variable for PG env tests 'tty' was removed in PG14 and causes an error. --- diff --git a/test/python/test_db_connection.py b/test/python/test_db_connection.py index 41978e59..00c29a43 100644 --- a/test/python/test_db_connection.py +++ b/test/python/test_db_connection.py @@ -100,6 +100,6 @@ def test_get_pg_env_overwrite_variable(monkeypatch): 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 == {}