Improve invalid error messages in the config flows (#108075)
This commit is contained in:
parent
8ad0226241
commit
6fdad44941
10 changed files with 162 additions and 23 deletions
|
@ -672,7 +672,7 @@ async def test_keepalive_validation(
|
|||
assert result["step_id"] == "broker"
|
||||
|
||||
if error:
|
||||
with pytest.raises(vol.MultipleInvalid):
|
||||
with pytest.raises(vol.Invalid):
|
||||
result = await hass.config_entries.options.async_configure(
|
||||
result["flow_id"],
|
||||
user_input=test_input,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue