Fix patching right import (#23816)

This commit is contained in:
Paulus Schoutsen 2019-05-11 10:29:30 -07:00 committed by Daniel Høyer Iversen
parent 6f8038992c
commit 3ec4070d8c

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()