mirror of
https://github.com/home-assistant/core.git
synced 2026-10-06 06:15:47 -04:00
Use reference strings in Tesla (#41238)
This commit is contained in:
@@ -70,7 +70,7 @@ async def test_form_invalid_auth(hass):
|
||||
)
|
||||
|
||||
assert result2["type"] == "form"
|
||||
assert result2["errors"] == {"base": "invalid_credentials"}
|
||||
assert result2["errors"] == {"base": "invalid_auth"}
|
||||
|
||||
|
||||
async def test_form_cannot_connect(hass):
|
||||
@@ -89,7 +89,7 @@ async def test_form_cannot_connect(hass):
|
||||
)
|
||||
|
||||
assert result2["type"] == "form"
|
||||
assert result2["errors"] == {"base": "connection_error"}
|
||||
assert result2["errors"] == {"base": "cannot_connect"}
|
||||
|
||||
|
||||
async def test_form_repeat_identifier(hass):
|
||||
@@ -110,7 +110,7 @@ async def test_form_repeat_identifier(hass):
|
||||
)
|
||||
|
||||
assert result2["type"] == "form"
|
||||
assert result2["errors"] == {CONF_USERNAME: "identifier_exists"}
|
||||
assert result2["errors"] == {CONF_USERNAME: "already_configured_account"}
|
||||
|
||||
|
||||
async def test_import(hass):
|
||||
|
||||
Reference in New Issue
Block a user