mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fix translation string in guardian (#128535)
This commit is contained in:
parent
3cbadb1bd2
commit
72f1c358d9
@ -12,6 +12,9 @@
|
||||
"description": "Do you want to set up this Guardian device?"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
|
||||
},
|
||||
"abort": {
|
||||
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
||||
"already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]",
|
||||
|
@ -33,10 +33,6 @@ async def test_duplicate_error(hass: HomeAssistant, config: dict[str, Any]) -> N
|
||||
assert result["reason"] == "already_configured"
|
||||
|
||||
|
||||
@pytest.mark.parametrize( # Remove when translations fixed
|
||||
"ignore_translations",
|
||||
["component.guardian.config.error.cannot_connect"],
|
||||
)
|
||||
async def test_connect_error(hass: HomeAssistant, config: dict[str, Any]) -> None:
|
||||
"""Test that the config entry errors out if the device cannot connect."""
|
||||
with patch(
|
||||
|
Loading…
x
Reference in New Issue
Block a user