From 5dc2620ed06068913afd41e5d92a2a3d10232a70 Mon Sep 17 00:00:00 2001 From: David Ankin Date: Tue, 19 Nov 2024 03:50:13 -0500 Subject: [PATCH] fix: do not refer to old constants from postgres class removed in feb 2023 before maintainer change (#7) --- tests/test_customers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_customers.py b/tests/test_customers.py index 11f159f..275855e 100644 --- a/tests/test_customers.py +++ b/tests/test_customers.py @@ -18,9 +18,9 @@ def remove_container(): os.environ["DB_CONN"] = postgres.get_connection_url() os.environ["DB_HOST"] = postgres.get_container_host_ip() os.environ["DB_PORT"] = postgres.get_exposed_port(5432) - os.environ["DB_USERNAME"] = postgres.POSTGRES_USER - os.environ["DB_PASSWORD"] = postgres.POSTGRES_PASSWORD - os.environ["DB_NAME"] = postgres.POSTGRES_DB + os.environ["DB_USERNAME"] = postgres.username + os.environ["DB_PASSWORD"] = postgres.password + os.environ["DB_NAME"] = postgres.dbname customers.create_table()