From eb6ed9b96999ae92eaafda033dbdad051cf85cc2 Mon Sep 17 00:00:00 2001 From: matejcik Date: Wed, 20 Nov 2024 15:09:03 +0100 Subject: [PATCH] fixup! feat(tests): simplify asserts on translated strings --- tests/translations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/translations.py b/tests/translations.py index 8b093dd4d2..fcfd638d77 100644 --- a/tests/translations.py +++ b/tests/translations.py @@ -117,6 +117,7 @@ class Translation: TRANSLATIONS = {lang: Translation(lang) for lang in LANGUAGES} +_CURRENT_TRANSLATION.TR = TRANSLATIONS["en"] def translate(key: str, _stacklevel: int = 0) -> str: