ElkM1 integration, add strict types to config_flow (#70323)
This commit is contained in:
parent
b0ed42a5a5
commit
2a99084911
5 changed files with 38 additions and 22 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue