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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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