Add check for valid error code in translation checks in flows (#128445)

This commit is contained in:
epenet
2024-10-16 19:03:24 +02:00
committed by GitHub
parent 15fc4a8ae4
commit 0bc572787a
15 changed files with 114 additions and 2 deletions

View File

@@ -637,6 +637,10 @@ async def test_form_stream_other_error(hass: HomeAssistant, user_flow) -> None:
await hass.async_block_till_done()
@pytest.mark.parametrize( # Remove when translations fixed
"ignore_translations",
["component.generic.config.error.Some message"],
)
@respx.mock
@pytest.mark.usefixtures("fakeimg_png")
async def test_form_stream_worker_error(