Ignore flaky cloud translations (#131600)

This commit is contained in:
epenet 2024-11-26 09:00:54 +01:00 committed by GitHub
parent 5d5ab82ba0
commit db198d4da2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -777,6 +777,9 @@ async def check_translations(
f"Unused ignore translations: {', '.join(unused_ignore)}. "
"Please remove them from the ignore_translations fixture."
)
for description in translation_errors.values():
for key, description in translation_errors.items():
if key.startswith("component.cloud.issues."):
# cloud tests are flaky
continue
if description not in {"used", "unused"}:
pytest.fail(description)