Use FlowResultType enum in config flow tests A-M (#114681)

This commit is contained in:
Joost Lekkerkerker 2024-04-03 09:21:17 +02:00 committed by GitHub
parent a767530970
commit b9281327c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
111 changed files with 997 additions and 961 deletions

View file

@ -146,5 +146,5 @@ async def test_already_configured(hass: HomeAssistant, mock_hub_discover) -> Non
DOMAIN, context={"source": SOURCE_USER}
)
assert result["type"] == "abort"
assert result["type"] is FlowResultType.ABORT
assert result["reason"] == "no_devices_found"