1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

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
111 changed files with 997 additions and 961 deletions

View File

@@ -86,7 +86,7 @@ async def test_flow_user_init_data_unknown_error_and_recover(
user_input=MOCK_DATA_STEP,
)
assert result["type"] == "create_entry"
assert result["type"] is FlowResultType.CREATE_ENTRY
assert result["result"].title == MOCK_DATA_STEP["email"]
assert result["data"] == MOCK_DATA_STEP