Skip to content

Commit

Permalink
missed an open_connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuyukai committed Jan 25, 2024
1 parent 6f62c25 commit 85ae526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 85ae526

Please sign in to comment.