more missing mocking

This commit is contained in:
J. Nick Koston 2023-12-12 11:10:43 -10:00
parent 38d4d1d1c3
commit 3f743f365a
No known key found for this signature in database
1 changed files with 3 additions and 1 deletions

View File

@ -593,7 +593,9 @@ async def test_noise_frame_helper_bad_encryption(
@pytest.mark.asyncio
async def test_init_plaintext_with_wrong_preamble(conn: APIConnection):
async def test_init_plaintext_with_wrong_preamble(
conn: APIConnection, aiohappyeyeballs_start_connection
):
loop = asyncio.get_event_loop()
protocol = get_mock_protocol(conn)
with patch.object(loop, "create_connection") as create_connection: