Fix slow samsungtv test (#66696)
parent
58742f8be6
commit
2687f61428
|
@ -455,8 +455,9 @@ async def test_ssdp_websocket_not_supported(hass: HomeAssistant):
|
||||||
"homeassistant.components.samsungtv.bridge.Remote",
|
"homeassistant.components.samsungtv.bridge.Remote",
|
||||||
side_effect=OSError("Boom"),
|
side_effect=OSError("Boom"),
|
||||||
), patch(
|
), patch(
|
||||||
"homeassistant.components.samsungtv.bridge.SamsungTVWS.open",
|
"homeassistant.components.samsungtv.bridge.SamsungTVWS",
|
||||||
side_effect=WebSocketProtocolException("Boom"),
|
) as remotews, patch.object(
|
||||||
|
remotews, "open", side_effect=WebSocketProtocolException("Boom")
|
||||||
):
|
):
|
||||||
# device not supported
|
# device not supported
|
||||||
result = await hass.config_entries.flow.async_init(
|
result = await hass.config_entries.flow.async_init(
|
||||||
|
|
Loading…
Reference in New Issue