Add missing async_block_till_done to github config flow tests (#110913)
This commit is contained in:
parent
6fc764330f
commit
764e628394
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@ async def test_full_user_flow_implementation(
|
||||||
assert result["step_id"] == "device"
|
assert result["step_id"] == "device"
|
||||||
assert result["type"] == FlowResultType.SHOW_PROGRESS
|
assert result["type"] == FlowResultType.SHOW_PROGRESS
|
||||||
|
|
||||||
|
# Wait for the task to start before configuring
|
||||||
|
await hass.async_block_till_done()
|
||||||
result = await hass.config_entries.flow.async_configure(result["flow_id"])
|
result = await hass.config_entries.flow.async_configure(result["flow_id"])
|
||||||
|
|
||||||
result = await hass.config_entries.flow.async_configure(
|
result = await hass.config_entries.flow.async_configure(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue