Tests and the CI are compiling messages

This commit is contained in:
Yohann D'ANELLO
2020-11-28 14:02:23 +01:00
parent a34dae2ad0
commit f78c73a703
4 changed files with 46 additions and 26 deletions

View File

@@ -5,6 +5,8 @@ from squirrelbattle.translations import gettext as _, Translator
class TestTranslations(unittest.TestCase):
def setUp(self) -> None:
Translator.compilemessages()
Translator.refresh_translations()
Translator.setlocale("fr")
def test_main_menu_translation(self) -> None: