summaryrefslogtreecommitdiff
path: root/manage
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-04-23 10:58:36 +0200
committerGitHub <noreply@github.com>2022-04-23 10:58:36 +0200
commitca1a5f9d270696a917aef9c411c9671255732281 (patch)
tree1014a63c2a789a51914dbfd8ca5e7c3f9c6aedac /manage
parenta8651305399a256871da875b66b6a661d80ef07a (diff)
parent50a4e308307178d053066733371f35de8d25d49f (diff)
Merge pull request #1013 from return42/test-pybabel
[mod] add test.pybabel to cover issues in translation tasks
Diffstat (limited to 'manage')
-rwxr-xr-xmanage7
1 files changed, 7 insertions, 0 deletions
diff --git a/manage b/manage
index cfba8aea8..79ee6a7a9 100755
--- a/manage
+++ b/manage
@@ -745,6 +745,13 @@ test.rst() {
done
}
+test.pybabel() {
+ TEST_BABEL_FOLDER="build/test/pybabel"
+ build_msg TEST "[extract messages] pybabel"
+ mkdir -p "${TEST_BABEL_FOLDER}"
+ pyenv.cmd pybabel extract -F babel.cfg -o "${TEST_BABEL_FOLDER}/messages.pot" searx
+}
+
test.clean() {
build_msg CLEAN "test stuff"
rm -rf geckodriver.log .coverage coverage/