mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Fix setup of SimpliSafe options flow test (#44375)
This commit is contained in:
parent
af6dd698c9
commit
fbc695e5cf
@ -72,6 +72,7 @@ async def test_options_flow(hass):
|
|||||||
with patch(
|
with patch(
|
||||||
"homeassistant.components.simplisafe.async_setup_entry", return_value=True
|
"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)
|
result = await hass.config_entries.options.async_init(config_entry.entry_id)
|
||||||
|
|
||||||
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM
|
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user