Fix translation string in lyric (#128386)

* Fix translation string in lyric

* Remove ignore_translations from lyric config_flow test
pull/128413/head^2
Julian 2024-10-15 22:10:56 +02:00 committed by GitHub
parent c5f8d823ce
commit e273148a89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View File

@ -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%]"

View File

@ -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(