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
|
@ -465,7 +465,7 @@ async def test_advanced_options_form(
|
|||
# Check if entry was updated
|
||||
for key, value in new_config.items():
|
||||
assert entry.data[key] == value
|
||||
except vol.MultipleInvalid:
|
||||
except vol.Invalid:
|
||||
# Check if form was expected with these options
|
||||
assert assert_result == data_entry_flow.FlowResultType.FORM
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue