Use common string names in ipp config flow (#41409)

* connection_error->cannot_connect

* connection_error->cannot_connect in config flow
This commit is contained in:
scheric authored and GitHub committed 2020-10-07 22:42:01 +02:00
1 parent b8f291d58e
commit 3d9d90c4c8
3 files changed
+7 -7

No files matched your search

+3 -3
View File
@@ -65,7 +65,7 @@ async def test_connection_error(
assert result["step_id"] == "user"
assert result["type"] == RESULT_TYPE_FORM
assert result["errors"] == {"base": "connection_error"}
assert result["errors"] == {"base": "cannot_connect"}
async def test_zeroconf_connection_error(
@@ -82,7 +82,7 @@ async def test_zeroconf_connection_error(
)
assert result["type"] == RESULT_TYPE_ABORT
assert result["reason"] == "connection_error"
assert result["reason"] == "cannot_connect"
async def test_zeroconf_confirm_connection_error(
@@ -97,7 +97,7 @@ async def test_zeroconf_confirm_connection_error(
)
assert result["type"] == RESULT_TYPE_ABORT
assert result["reason"] == "connection_error"
assert result["reason"] == "cannot_connect"
async def test_user_connection_upgrade_required(