Move imports to top for group (#29485)

* Move imports to top for group

* Fix failing test for group
This commit is contained in:
springstan
2019-12-05 13:44:11 +01:00
committed by Pascal Vizeli
parent ed464a75b2
commit ed5cdb528c
6 changed files with 42 additions and 46 deletions
@@ -21,7 +21,9 @@ async def test_reproduce_group(hass):
context=state.context,
)
with patch("homeassistant.helpers.state.async_reproduce_state") as fun:
with patch(
"homeassistant.components.group.reproduce_state.async_reproduce_state"
) as fun:
fun.return_value = Future()
fun.return_value.set_result(None)