Fix lingering timers in sia tests (#91407)

This commit is contained in:
epenet
2023-04-17 10:36:13 +02:00
committed by GitHub
parent 7c9242b4a7
commit dd7de48efc

View File

@@ -328,6 +328,7 @@ async def test_options_basic(hass: HomeAssistant) -> None:
updated = await hass.config_entries.options.async_configure( updated = await hass.config_entries.options.async_configure(
result["flow_id"], BASIC_OPTIONS result["flow_id"], BASIC_OPTIONS
) )
await hass.async_block_till_done()
assert updated["type"] == data_entry_flow.FlowResultType.CREATE_ENTRY assert updated["type"] == data_entry_flow.FlowResultType.CREATE_ENTRY
assert updated["data"] == { assert updated["data"] == {
CONF_ACCOUNTS: {BASIC_CONFIG[CONF_ACCOUNT]: BASIC_OPTIONS} CONF_ACCOUNTS: {BASIC_CONFIG[CONF_ACCOUNT]: BASIC_OPTIONS}