Fix setup of SimpliSafe options flow test (#44375)

pull/37800/head
Aaron Bach 2020-12-19 10:22:34 -07:00 committed by GitHub
parent af6dd698c9
commit fbc695e5cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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