mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Adjust async_step_reauth in blink (#74167)
This commit is contained in:
@@ -246,7 +246,9 @@ async def test_form_unknown_error(hass):
|
||||
async def test_reauth_shows_user_step(hass):
|
||||
"""Test reauth shows the user form."""
|
||||
result = await hass.config_entries.flow.async_init(
|
||||
DOMAIN, context={"source": config_entries.SOURCE_REAUTH}
|
||||
DOMAIN,
|
||||
context={"source": config_entries.SOURCE_REAUTH},
|
||||
data={"username": "blink@example.com", "password": "invalid_password"},
|
||||
)
|
||||
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM
|
||||
assert result["step_id"] == "user"
|
||||
|
||||
Reference in New Issue
Block a user