mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Ensure config_flow abort reasons have translations (#128140)
* Ensure config_flow abort reasons have translations * Ignore fake_integration in application_credentials * Mark gardena_bluetooth as needs fixing * Mark google as needs fixing * Mark google_assistant_sdk as needs fixing * Mark homewizard as needs fixing * Mark homeworks as needs fixing * Mark honeywell as needs fixing * Mark jewish_calendar as needs fixing * Mark lg_netcast as needs fixing * Mark lifx as needs fixing * Mark lyric as needs fixing * Mark madvr as needs fixing * Mark matter as needs fixing * Mark melcloud as needs fixing * Mark motioneye as needs fixing * Mark ollama as needs fixing * Mark philips_js as needs fixing * Mark spotify as needs fixing * Mark srp_energy as needs fixing * Mark subaru as needs fixing * Mark tplink as needs fixing * Mark yolink as needs fixing * Mark youtube as needs fixing * Fix incorrect comment
This commit is contained in:
@@ -48,6 +48,18 @@ NAME = "Name"
|
||||
TEST_DOMAIN = "fake_integration"
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def ignore_translations() -> list[str]:
|
||||
"""Ignore specific translations.
|
||||
|
||||
We can ignore translations for the fake_integration we are testing with.
|
||||
"""
|
||||
return [
|
||||
f"component.{TEST_DOMAIN}.config.abort.missing_configuration",
|
||||
f"component.{TEST_DOMAIN}.config.abort.missing_credentials",
|
||||
]
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
async def authorization_server() -> AuthorizationServer:
|
||||
"""Fixture AuthorizationServer for mock application_credentials integration."""
|
||||
|
||||
Reference in New Issue
Block a user