mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 11:18:00 +02:00
add a config flow test
This commit is contained in:
@@ -110,6 +110,11 @@ async def test_configflow_class():
|
||||
), raises(Exception):
|
||||
assert await configflow.async_step_user(True)
|
||||
|
||||
with patch(
|
||||
"homeassistant.components.wallbox.config_flow.validate_input",
|
||||
), raises(Exception):
|
||||
assert await configflow.async_step_user(True)
|
||||
|
||||
|
||||
def test_cannot_connect_class():
|
||||
"""Test cannot Connect class."""
|
||||
|
Reference in New Issue
Block a user