ElkM1 integration, add strict types to config_flow (#70323)

This commit is contained in:
Glenn Waters 2022-04-20 13:46:36 -04:00 committed by GitHub
parent b0ed42a5a5
commit 2a99084911
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 38 additions and 22 deletions

View file

@ -650,7 +650,7 @@ async def test_form_invalid_auth(hass):
mocked_elk = mock_elk(invalid_auth=True, sync_complete=True)
with patch(
"homeassistant.components.elkm1.config_flow.elkm1.Elk",
"homeassistant.components.elkm1.config_flow.Elk",
return_value=mocked_elk,
):
result2 = await hass.config_entries.flow.async_configure(
@ -677,7 +677,7 @@ async def test_form_invalid_auth_no_password(hass):
mocked_elk = mock_elk(invalid_auth=True, sync_complete=True)
with patch(
"homeassistant.components.elkm1.config_flow.elkm1.Elk",
"homeassistant.components.elkm1.config_flow.Elk",
return_value=mocked_elk,
):
result2 = await hass.config_entries.flow.async_configure(