]> 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:24:42 +0000 (00:24 +0100)
commitb07f6b9ba624c185dcce7177c5cb97aa78f426d0
tree9465141c5976c52c75f84cb96edc569bc22e985b
parent9896724fe085060b0841675cb7d6ccd9a2b705ee
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_conninfo.py
tests/test_dns_srv.py