Ensure github tests add config entry before updating it (#110430)
This commit is contained in:
parent
704ad67917
commit
0e1cdc1f79
4 changed files with 20 additions and 6 deletions
|
@ -260,13 +260,13 @@ async def test_options_flow(
|
|||
mock_setup_entry: None,
|
||||
) -> None:
|
||||
"""Test options flow."""
|
||||
mock_config_entry.add_to_hass(hass)
|
||||
hass.config_entries.async_update_entry(
|
||||
mock_config_entry,
|
||||
options={
|
||||
CONF_REPOSITORIES: ["homeassistant/core", "homeassistant/architecture"]
|
||||
},
|
||||
)
|
||||
mock_config_entry.add_to_hass(hass)
|
||||
|
||||
await hass.config_entries.async_setup(mock_config_entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue