Fix patching right import (#23816)

This commit is contained in:
Paulus Schoutsen authored and Daniel Høyer Iversen committed 2019-05-11 19:29:29 +02:00
1 parent 6f8038992c
commit 3ec4070d8c
1 file changed
+1 -1
+1 -1
View File
@@ -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()