Use reference strings in Dexcom (#41072)

* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
This commit is contained in:
SNoof85 authored and GitHub committed 2020-10-02 20:48:12 +02:00
1 parent a3511a9a81
commit d282694efe
3 files changed
+9 -7

No files matched your search

+2 -2
View File
@@ -57,7 +57,7 @@ async def test_form_account_error(hass):
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result2["errors"] == {"base": "account_error"}
assert result2["errors"] == {"base": "invalid_auth"}
async def test_form_session_error(hass):
@@ -76,7 +76,7 @@ async def test_form_session_error(hass):
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result2["errors"] == {"base": "session_error"}
assert result2["errors"] == {"base": "cannot_connect"}
async def test_form_unknown_error(hass):