Fix translation string in lyric (#128386)
* Fix translation string in lyric * Remove ignore_translations from lyric config_flow testpull/128413/head^2
parent
c5f8d823ce
commit
e273148a89
|
@ -16,7 +16,8 @@
|
||||||
"oauth_error": "[%key:common::config_flow::abort::oauth2_error%]",
|
"oauth_error": "[%key:common::config_flow::abort::oauth2_error%]",
|
||||||
"oauth_timeout": "[%key:common::config_flow::abort::oauth2_timeout%]",
|
"oauth_timeout": "[%key:common::config_flow::abort::oauth2_timeout%]",
|
||||||
"oauth_unauthorized": "[%key:common::config_flow::abort::oauth2_unauthorized%]",
|
"oauth_unauthorized": "[%key:common::config_flow::abort::oauth2_unauthorized%]",
|
||||||
"oauth_failed": "[%key:common::config_flow::abort::oauth2_failed%]"
|
"oauth_failed": "[%key:common::config_flow::abort::oauth2_failed%]",
|
||||||
|
"missing_credentials": "[%key:common::config_flow::abort::oauth2_missing_credentials%]"
|
||||||
},
|
},
|
||||||
"create_entry": {
|
"create_entry": {
|
||||||
"default": "[%key:common::config_flow::create_entry::authenticated%]"
|
"default": "[%key:common::config_flow::create_entry::authenticated%]"
|
||||||
|
|
|
@ -36,10 +36,6 @@ async def mock_impl(hass: HomeAssistant) -> None:
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize( # Remove when translations fixed
|
|
||||||
"ignore_translations",
|
|
||||||
["component.lyric.config.abort.missing_credentials"],
|
|
||||||
)
|
|
||||||
async def test_abort_if_no_configuration(hass: HomeAssistant) -> None:
|
async def test_abort_if_no_configuration(hass: HomeAssistant) -> None:
|
||||||
"""Check flow abort when no configuration."""
|
"""Check flow abort when no configuration."""
|
||||||
result = await hass.config_entries.flow.async_init(
|
result = await hass.config_entries.flow.async_init(
|
||||||
|
|
Loading…
Reference in New Issue