Split the NZBGet user flow init from its data (#180727)

This commit is contained in:
Franck Nijhof
2026-08-30 11:47:57 +02:00
committed by GitHub
parent e5431b4484
commit ab90439e63
+2 -3
View File
@@ -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"