1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Fix mock assert_called_with (#96929)

* Fix mock assert_called_with

* Fix sonos test

* Revert zeroconf test changes
This commit is contained in:
Marc Mueller
2023-07-20 08:31:37 +02:00
committed by GitHub
parent 822d840f81
commit 23810752ed
3 changed files with 13 additions and 6 deletions

View File

@@ -273,7 +273,7 @@ async def test_error_event_type(
)
)
assert voice_assistant_udp_server_v1.handle_event.called_with(
voice_assistant_udp_server_v1.handle_event.assert_called_with(
VoiceAssistantEventType.VOICE_ASSISTANT_ERROR,
{"code": "code", "message": "message"},
)