diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-03-25 10:10:13 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-04-23 10:20:22 +0200 |
commit | 50a4e308307178d053066733371f35de8d25d49f (patch) | |
tree | 1014a63c2a789a51914dbfd8ca5e7c3f9c6aedac /manage | |
parent | a8651305399a256871da875b66b6a661d80ef07a (diff) | |
download | searxng-50a4e308307178d053066733371f35de8d25d49f.tar.gz searxng-50a4e308307178d053066733371f35de8d25d49f.zip |
[mod] add test.pybabel to cover issues in translation tasks
We need to cover issue related to pybabel/translation tasks. By example there
was an issue [1] (fixed [2]) when upgrading jinja2 from 3.0.3 to 3.1.0 [3] that
has not been covered by the CI tests.
[1] https://github.com/searxng/searxng/runs/5688624325?check_suite_focus=true#step:6:348
[2] https://github.com/searxng/searxng/pull/1011
[3] https://github.com/searxng/searxng/pull/1008
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'manage')
-rwxr-xr-x | manage | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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/ |