MCPcopy
hub / github.com/psycopg/psycopg / pool_cls

Function pool_cls

tests/pool/test_pool_common_async.py:25–26  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

23
24@pytest.fixture(params=["AsyncConnectionPool", "AsyncNullConnectionPool"])
25def pool_cls(request):
26 return getattr(pool, request.param)
27
28
29async def test_defaults(pool_cls, dsn):

Callers 15

test_defaultsFunction · 0.70
test_connection_classFunction · 0.70
test_kwargsFunction · 0.70
test_contextFunction · 0.70
test_create_warningFunction · 0.70
test_wait_closedFunction · 0.70
test_setup_no_timeoutFunction · 0.70
test_configure_badstateFunction · 0.70
test_configure_brokenFunction · 0.70
test_queueFunction · 0.70
test_queue_sizeFunction · 0.70
test_queue_timeoutFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected