diff --git a/tests/test_sa_engine.py b/tests/test_sa_engine.py index 98de2a93..6b0cf305 100644 --- a/tests/test_sa_engine.py +++ b/tests/test_sa_engine.py @@ -189,4 +189,5 @@ async def test_release_after_connection_disconnected_before_begin( await tcp_proxy.disconnect() async with conn.begin(): pytest.fail("Should not be here") + assert engine.size == 0