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

@ -276,7 +276,7 @@ async def test_options_flow(
result = await hass.config_entries.options.async_init(mock_config_entry.entry_id)
assert result["type"] == "form"
assert result["type"] is FlowResultType.FORM
assert result["step_id"] == "init"
result = await hass.config_entries.options.async_configure(