mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Use reference strings in Abode (#41004)
* Use translation references * Suggested change * Remove unused string * Rename invalid_credentials key * Fix invalid_auth in manifest.json file
This commit is contained in:
@@ -61,7 +61,7 @@ async def test_invalid_credentials(hass):
|
||||
side_effect=AbodeAuthenticationException((400, "auth error")),
|
||||
):
|
||||
result = await flow.async_step_user(user_input=conf)
|
||||
assert result["errors"] == {"base": "invalid_credentials"}
|
||||
assert result["errors"] == {"base": "invalid_auth"}
|
||||
|
||||
|
||||
async def test_connection_error(hass):
|
||||
@@ -78,7 +78,7 @@ async def test_connection_error(hass):
|
||||
),
|
||||
):
|
||||
result = await flow.async_step_user(user_input=conf)
|
||||
assert result["errors"] == {"base": "connection_error"}
|
||||
assert result["errors"] == {"base": "cannot_connect"}
|
||||
|
||||
|
||||
async def test_step_import(hass):
|
||||
|
||||
Reference in New Issue
Block a user