From 85ae5265045cbc7bfa73756cdeed3f6bd4273afb Mon Sep 17 00:00:00 2001 From: Lura Skye Date: Thu, 25 Jan 2024 05:19:54 +0000 Subject: [PATCH] missed an open_connection --- tests/test_connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_connection.py b/tests/test_connection.py index 2a8ce0c..72c6a82 100644 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -65,7 +65,7 @@ async def test_server_side_close(): """ with pytest.raises(UnexpectedCloseError): - async with open_connection("127.0.0.1") as conn: + async with _open_connection() as conn: async with conn.open_channel() as channel: # immediate causes a close with rabbitmq await channel.basic_publish("", "", b"", immediate=True)