Skip to content

Commit

Permalink
Fix patching right import (#23816)
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob authored and Danielhiversen committed May 11, 2019
1 parent 6f80389 commit 3ec4070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/components/hue/test_config_flow.py
Expand Up @@ -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()

Expand Down

0 comments on commit 3ec4070

Please sign in to comment.