Fix zha manual flow test (#48317)

This commit is contained in:
Martin Hjelmare 2021-03-25 14:19:32 +01:00 committed by GitHub
parent 1b60c8efb8
commit 9f07ca069d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,6 +86,7 @@ async def test_user_flow_show_form(hass):
assert result["step_id"] == "user"
@patch("serial.tools.list_ports.comports", MagicMock(return_value=[]))
async def test_user_flow_show_manual(hass):
"""Test user flow manual entry when no comport detected."""
result = await hass.config_entries.flow.async_init(