Fix translations in ollama (#130164)

pull/130165/head
Sheldon Ip 2024-11-08 11:15:17 -08:00 committed by GitHub
parent e4036a2f14
commit 1ac9217630
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View File

@ -11,9 +11,11 @@
"title": "Downloading model"
}
},
"abort": {
"download_failed": "Model downloading failed"
},
"error": {
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"download_failed": "Model downloading failed",
"unknown": "[%key:common::config_flow::error::unknown%]"
},
"progress": {

View File

@ -204,10 +204,6 @@ async def test_form_errors(hass: HomeAssistant, side_effect, error) -> None:
assert result2["errors"] == {"base": error}
@pytest.mark.parametrize( # Remove when translations fixed
"ignore_translations",
["component.ollama.config.abort.download_failed"],
)
async def test_download_error(hass: HomeAssistant) -> None:
"""Test we handle errors while downloading a model."""
result = await hass.config_entries.flow.async_init(