Use common strings in tellduslive config flow (#41408)

Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
This commit is contained in:
scheric 2020-10-08 18:14:21 +02:00 committed by GitHub
parent 5345e9fb5c
commit c2d0c90cd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -201,7 +201,7 @@ async def test_wrong_auth_flow_implementation(hass, mock_tellduslive):
result = await flow.async_step_auth("")
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result["step_id"] == "auth"
assert result["errors"]["base"] == "auth_error"
assert result["errors"]["base"] == "invalid_auth"
async def test_not_pick_host_if_only_one(hass, mock_tellduslive):