Fix translations in homeworks (#129824)
parent
6c75e0bee1
commit
18d2ced045
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
"config": {
|
||||
"abort": {
|
||||
"reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]"
|
||||
},
|
||||
"error": {
|
||||
"connection_error": "Could not connect to the controller.",
|
||||
"credentials_needed": "The controller needs credentials.",
|
||||
|
|
|
@ -235,10 +235,6 @@ async def test_user_flow_cannot_connect(
|
|||
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(
|
||||
hass: HomeAssistant, mock_config_entry: MockConfigEntry, mock_homeworks: MagicMock
|
||||
) -> None:
|
||||
|
@ -326,10 +322,6 @@ async def test_reconfigure_flow_flow_duplicate(
|
|||
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(
|
||||
hass: HomeAssistant, mock_config_entry: MockConfigEntry, mock_homeworks: MagicMock
|
||||
) -> None:
|
||||
|
|
Loading…
Reference in New Issue