]> git.ipfire.org Git - thirdparty/psycopg.git/commit
test: replace deaf_port fixture with deaf_listen method on proxy 783/head
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 10 Apr 2024 19:40:00 +0000 (21:40 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 12 Apr 2024 01:16:29 +0000 (03:16 +0200)
commit5624303de16f6f634b72f5746f3aae9bef493ac7
tree6c3fe85a88cd6aad38fcf6922d07e6cb6b7a0144
parentba296f7bd194ec4e91f20b86bb3b71afdf728858
test: replace deaf_port fixture with deaf_listen method on proxy

This allows to replace the listening proxy port with a port that blocks
connection and to write more easily cancel timeout tests (as in #780).
tests/fix_proxy.py
tests/pool/test_pool_null.py
tests/pool/test_pool_null_async.py
tests/test_connection.py
tests/test_connection_async.py