Use common Strings for Acmeda Config Flow (#41092)
This commit is contained in:
1 parent
38d132addd
commit
ed171a885b
3 files changed
+5
-5
No files matched your search
@@ -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"
|
||||
Reference in new issue
Block a user