add a config flow test

This commit is contained in:
Es
2021-05-20 19:49:37 +02:00
parent 0bf034c331
commit 9c1af82fff

View File

@@ -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."""