From ab90439e634ca602d723c01c64bab66629435b74 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 30 Aug 2026 11:47:57 +0200 Subject: [PATCH] Split the NZBGet user flow init from its data (#180727) --- tests/components/nzbget/test_config_flow.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/components/nzbget/test_config_flow.py b/tests/components/nzbget/test_config_flow.py index fe903926a384..4943a2c8bf09 100644 --- a/tests/components/nzbget/test_config_flow.py +++ b/tests/components/nzbget/test_config_flow.py @@ -127,9 +127,8 @@ async def test_user_form_single_instance_allowed(hass: HomeAssistant) -> None: entry.add_to_hass(hass) 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"