From aeb3b249f26cde56feacc6ca54f6e73a7f3eb8d8 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 30 Aug 2026 15:25:54 +0200 Subject: [PATCH] Split the FAA Delays user flow init from its data (#180791) --- tests/components/faa_delays/test_config_flow.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/components/faa_delays/test_config_flow.py b/tests/components/faa_delays/test_config_flow.py index 4420bc736320..393f8a041ff0 100644 --- a/tests/components/faa_delays/test_config_flow.py +++ b/tests/components/faa_delays/test_config_flow.py @@ -59,7 +59,15 @@ async def test_duplicate_error(hass: HomeAssistant) -> None: MockConfigEntry(domain=DOMAIN, unique_id="test", data=conf).add_to_hass(hass) result = await hass.config_entries.flow.async_init( - DOMAIN, context={"source": config_entries.SOURCE_USER}, data=conf + DOMAIN, context={"source": config_entries.SOURCE_USER} + ) + + assert result["type"] is FlowResultType.FORM + assert result["step_id"] == "user" + + result = await hass.config_entries.flow.async_configure( + result["flow_id"], + user_input=conf, ) assert result["type"] is FlowResultType.ABORT