From d1b85cd452ddaae0c81b77190f81676dfb5c04f2 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 9 May 2025 00:26:43 +0200 Subject: [PATCH] Fix voip test RuntimeWarning (#144519) --- tests/components/voip/test_voip.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/components/voip/test_voip.py b/tests/components/voip/test_voip.py index 65567c8e1d1..364c4d3dd5a 100644 --- a/tests/components/voip/test_voip.py +++ b/tests/components/voip/test_voip.py @@ -1119,9 +1119,10 @@ async def test_start_conversation_user_doesnt_pick_up( & assist_satellite.AssistSatelliteEntityFeature.START_CONVERSATION ) - # Protocol has already been mocked, but "outgoing_call" is not async + # Protocol has already been mocked, but "outgoing_call" and "cancel_call" are not async mock_protocol: AsyncMock = hass.data[DOMAIN].protocol mock_protocol.outgoing_call = Mock() + mock_protocol.cancel_call = Mock() announcement = assist_satellite.AssistSatelliteAnnouncement( message="test announcement",