Split the Canary user flow init from its data (#180754)

This commit is contained in:
Franck Nijhof
2026-08-30 12:26:45 +02:00
committed by GitHub
parent 54363d31ce
commit b644dbb12c
+2 -3
View File
@@ -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"