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:
committed by
GitHub
parent
a767530970
commit
b9281327c4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user