From 5cc3ba620e69890d663adfc3678a2e4f7c2f96e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89loi=20Rivard?= Date: Sun, 23 Jul 2023 17:42:11 +0200 Subject: [PATCH] compile babel catalogs before running tox tests --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index d8825455f..d40692818 100644 --- a/tox.ini +++ b/tox.ini @@ -11,6 +11,7 @@ deps = babel email_validator commands = + pybabel --quiet compile --directory {envsitepackagesdir}/wtforms/locale --domain wtforms --statistics pytest --tb=short --basetemp={envtmpdir} {posargs} [testenv:coverage] @@ -20,6 +21,7 @@ deps = email_validator coverage commands = + pybabel --quiet compile --directory {envsitepackagesdir}/wtforms/locale --domain wtforms --statistics coverage erase coverage run --parallel --module pytest --tb=short --basetemp={envtmpdir} {posargs} coverage combine