mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix translations in homeworks (#129824)
This commit is contained in:
parent
a2a3f59e65
commit
6897b24c10
@ -1,5 +1,8 @@
|
|||||||
{
|
{
|
||||||
"config": {
|
"config": {
|
||||||
|
"abort": {
|
||||||
|
"reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]"
|
||||||
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"connection_error": "Could not connect to the controller.",
|
"connection_error": "Could not connect to the controller.",
|
||||||
"credentials_needed": "The controller needs credentials.",
|
"credentials_needed": "The controller needs credentials.",
|
||||||
|
@ -235,10 +235,6 @@ async def test_user_flow_cannot_connect(
|
|||||||
assert result["step_id"] == "user"
|
assert result["step_id"] == "user"
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize( # Remove when translations fixed
|
|
||||||
"ignore_translations",
|
|
||||||
["component.homeworks.config.abort.reconfigure_successful"],
|
|
||||||
)
|
|
||||||
async def test_reconfigure_flow(
|
async def test_reconfigure_flow(
|
||||||
hass: HomeAssistant, mock_config_entry: MockConfigEntry, mock_homeworks: MagicMock
|
hass: HomeAssistant, mock_config_entry: MockConfigEntry, mock_homeworks: MagicMock
|
||||||
) -> None:
|
) -> None:
|
||||||
@ -326,10 +322,6 @@ async def test_reconfigure_flow_flow_duplicate(
|
|||||||
assert result["errors"] == {"base": "duplicated_host_port"}
|
assert result["errors"] == {"base": "duplicated_host_port"}
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize( # Remove when translations fixed
|
|
||||||
"ignore_translations",
|
|
||||||
["component.homeworks.config.abort.reconfigure_successful"],
|
|
||||||
)
|
|
||||||
async def test_reconfigure_flow_flow_no_change(
|
async def test_reconfigure_flow_flow_no_change(
|
||||||
hass: HomeAssistant, mock_config_entry: MockConfigEntry, mock_homeworks: MagicMock
|
hass: HomeAssistant, mock_config_entry: MockConfigEntry, mock_homeworks: MagicMock
|
||||||
) -> None:
|
) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user