Skip to content

Commit 5dc2620

Browse files
fix: do not refer to old constants from postgres class removed in feb 2023 before maintainer change (#7)
1 parent cf1b0b4 commit 5dc2620

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_customers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ def remove_container():
1818
os.environ["DB_CONN"] = postgres.get_connection_url()
1919
os.environ["DB_HOST"] = postgres.get_container_host_ip()
2020
os.environ["DB_PORT"] = postgres.get_exposed_port(5432)
21-
os.environ["DB_USERNAME"] = postgres.POSTGRES_USER
22-
os.environ["DB_PASSWORD"] = postgres.POSTGRES_PASSWORD
23-
os.environ["DB_NAME"] = postgres.POSTGRES_DB
21+
os.environ["DB_USERNAME"] = postgres.username
22+
os.environ["DB_PASSWORD"] = postgres.password
23+
os.environ["DB_NAME"] = postgres.dbname
2424
customers.create_table()
2525

2626

0 commit comments

Comments
 (0)