Use common Strings for Acmeda Config Flow (#41092)

This commit is contained in:
Spartan-II-117 authored and GitHub committed 2020-10-03 21:29:30 +02:00
1 parent 38d132addd
commit ed171a885b
3 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -47,7 +47,7 @@ async def test_show_form_no_hubs(hass, mock_hub_discover):
)
assert result["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result["reason"] == "all_configured"
assert result["reason"] == "no_devices_found"
# Check we performed the discovery
assert len(mock_hub_discover.mock_calls) == 1
@@ -140,4 +140,4 @@ async def test_already_configured(hass, mock_hub_discover):
)
assert result["type"] == "abort"
assert result["reason"] == "all_configured"
assert result["reason"] == "no_devices_found"