]> git.ipfire.org Git - thirdparty/psycopg.git/commit
test: fix dsn manipulation tests confused by the env vars
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 12 Jul 2022 23:19:24 +0000 (00:19 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 12 Jul 2022 23:44:44 +0000 (00:44 +0100)
commit99d67a992279bc7aa8f5676dfabf71d9f0207166
treec5e7e47dc6532b93da6475709564b15a89e92284
parent4e19e20d3c0bc89092d7e17f3b3dc1615ec03ba3
test: fix dsn manipulation tests confused by the env vars

Add fixture to clean up the PG* vars from the env and replace them with
the values to test.
tests/fix_pq.py
tests/test_connection_async.py
tests/test_dns_srv.py