Fix setup of SimpliSafe options flow test (#44375)

This commit is contained in:
Aaron Bach
2020-12-19 10:22:34 -07:00
committed by GitHub
parent af6dd698c9
commit fbc695e5cf

View File

@@ -72,6 +72,7 @@ async def test_options_flow(hass):
with patch(
"homeassistant.components.simplisafe.async_setup_entry", return_value=True
):
await hass.config_entries.async_setup(config_entry.entry_id)
result = await hass.config_entries.options.async_init(config_entry.entry_id)
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM