Fix translations in subaru (#130486)
parent
3a2f996c13
commit
1e3c2c0631
|
@ -37,13 +37,13 @@
|
|||
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
||||
"incorrect_pin": "Incorrect PIN",
|
||||
"bad_pin_format": "PIN should be 4 digits",
|
||||
"two_factor_request_failed": "Request for 2FA code failed, please try again",
|
||||
"bad_validation_code_format": "Validation code should be 6 digits",
|
||||
"incorrect_validation_code": "Incorrect validation code"
|
||||
},
|
||||
"abort": {
|
||||
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
|
||||
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
|
||||
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
||||
"two_factor_request_failed": "Request for 2FA code failed, please try again"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
|
|
|
@ -192,10 +192,6 @@ async def test_two_factor_request_success(
|
|||
assert len(mock_two_factor_request.mock_calls) == 1
|
||||
|
||||
|
||||
@pytest.mark.parametrize( # Remove when translations fixed
|
||||
"ignore_translations",
|
||||
["component.subaru.config.abort.two_factor_request_failed"],
|
||||
)
|
||||
async def test_two_factor_request_fail(
|
||||
hass: HomeAssistant, two_factor_start_form
|
||||
) -> None:
|
||||
|
|
Loading…
Reference in New Issue