forked from home-assistant/core
Prevent 3rd party lib from opening sockets in epson tests (#55595)
This commit is contained in:
@@ -21,6 +21,9 @@ async def test_form(hass):
|
|||||||
with patch(
|
with patch(
|
||||||
"homeassistant.components.epson.Projector.get_power",
|
"homeassistant.components.epson.Projector.get_power",
|
||||||
return_value="01",
|
return_value="01",
|
||||||
|
), patch(
|
||||||
|
"homeassistant.components.epson.Projector.get_serial_number",
|
||||||
|
return_value="12345",
|
||||||
), patch(
|
), patch(
|
||||||
"homeassistant.components.epson.async_setup_entry",
|
"homeassistant.components.epson.async_setup_entry",
|
||||||
return_value=True,
|
return_value=True,
|
||||||
|
Reference in New Issue
Block a user