mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Fix patching right import (#23816)
This commit is contained in:
parent
6f8038992c
commit
3ec4070d8c
@ -130,7 +130,7 @@ async def test_flow_timeout_discovery(hass):
|
||||
flow = config_flow.HueFlowHandler()
|
||||
flow.hass = hass
|
||||
|
||||
with patch('aiohue.discovery.discover_nupnp',
|
||||
with patch('homeassistant.components.hue.config_flow.discover_nupnp',
|
||||
side_effect=asyncio.TimeoutError):
|
||||
result = await flow.async_step_init()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user