Add missing async_block_till_done to github config flow tests (#110913)

pull/105985/head^2
J. Nick Koston 2024-02-19 02:58:57 -06:00 committed by GitHub
parent 6fc764330f
commit 764e628394
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ async def test_full_user_flow_implementation(
assert result["step_id"] == "device"
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(