Use common strings for Onvif config flow (#41170)
* Use common strings for Onvif config flow * Fix tests * Update homeassistant/components/onvif/strings.json Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
1 parent
c7027e2828
commit
dde465da48
3 files changed
+4
-4
No files matched your search
@@ -531,7 +531,7 @@ async def test_flow_import_onvif_auth_error(hass):
|
||||
|
||||
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM
|
||||
assert result["step_id"] == "auth"
|
||||
assert result["errors"]["base"] == "connection_failed"
|
||||
assert result["errors"]["base"] == "cannot_connect"
|
||||
|
||||
|
||||
async def test_option_flow(hass):
|
||||
|
||||
Reference in new issue
Block a user