From 764e6283944125e93a89c0bf670ffbc749cb9b0c Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 19 Feb 2024 02:58:57 -0600 Subject: [PATCH] Add missing async_block_till_done to github config flow tests (#110913) --- tests/components/github/test_config_flow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/components/github/test_config_flow.py b/tests/components/github/test_config_flow.py index 0edb90bee14..4f805cf43fc 100644 --- a/tests/components/github/test_config_flow.py +++ b/tests/components/github/test_config_flow.py @@ -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(