mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 01:07:10 +00:00
Fix voip test RuntimeWarning (#144519)
This commit is contained in:
parent
8977458e48
commit
d1b85cd452
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user