mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
Fix switcher_kis tests not holding patch while calling async_block_till_done (#110916)
This commit is contained in:
parent
c74958dd36
commit
a2bd59ab3b
@ -40,6 +40,8 @@ async def test_async_setup_user_config_flow(hass: HomeAssistant, mock_bridge) ->
|
|||||||
result = await hass.config_entries.flow.async_init(
|
result = await hass.config_entries.flow.async_init(
|
||||||
DOMAIN, context={"source": config_entries.SOURCE_USER}
|
DOMAIN, context={"source": config_entries.SOURCE_USER}
|
||||||
)
|
)
|
||||||
|
await hass.async_block_till_done()
|
||||||
|
|
||||||
await hass.config_entries.flow.async_configure(result["flow_id"], {})
|
await hass.config_entries.flow.async_configure(result["flow_id"], {})
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user