1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Use common strings in ps4 config flow (#41623)

This commit is contained in:
Christian Bilevits
2020-10-11 16:57:21 +02:00
committed by GitHub
parent ffd25fb2ce
commit ae20b3a678
3 changed files with 13 additions and 13 deletions

View File

@@ -284,7 +284,7 @@ async def test_duplicate_abort(hass):
result["flow_id"], user_input=MOCK_AUTO
)
assert result["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result["reason"] == "devices_configured"
assert result["reason"] == "already_configured"
async def test_additional_device(hass):
@@ -515,7 +515,7 @@ async def test_device_connection_error(hass):
)
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result["step_id"] == "link"
assert result["errors"] == {"base": "not_ready"}
assert result["errors"] == {"base": "cannot_connect"}
async def test_manual_mode_no_ip_error(hass):