From b644dbb12c47d4a4ba2aa588dbad4b1d7e9f8900 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 30 Aug 2026 12:26:45 +0200 Subject: [PATCH] Split the Canary user flow init from its data (#180754) --- tests/components/canary/test_config_flow.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/components/canary/test_config_flow.py b/tests/components/canary/test_config_flow.py index 06aadc8297c2..6e531b26c8d2 100644 --- a/tests/components/canary/test_config_flow.py +++ b/tests/components/canary/test_config_flow.py @@ -96,10 +96,9 @@ async def test_user_form_single_instance_allowed( await init_integration(hass, skip_entry_setup=True) result = await hass.config_entries.flow.async_init( - DOMAIN, - context={"source": SOURCE_USER}, - data=USER_INPUT, + DOMAIN, context={"source": SOURCE_USER} ) + assert result["type"] is FlowResultType.ABORT assert result["reason"] == "single_instance_allowed"