Skip to content

Commit

Permalink
add check for errors to test
Browse files Browse the repository at this point in the history
  • Loading branch information
firstof9 committed Jul 6, 2024
1 parent a18dff2 commit 59e391c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1692,6 +1692,7 @@ async def test_reconfigure(
assert result["type"] == "form"
assert result["step_id"] == step_id_4
result = await hass.config_entries.flow.async_configure(result["flow_id"], input_4)
assert result["errors"] == {}

assert result["type"] is FlowResultType.ABORT
assert result["reason"] == "reconfigure_successful"
Expand Down

0 comments on commit 59e391c

Please sign in to comment.