Add a separate tox env for extracting and compiling translations
@@ -147,6 +147,12 @@ commands =
{envpython} {toxinidir}/manage.py collectstatic -v 0 -c --noinput
{envpython} {toxinidir}/manage.py runserver -v 0 {posargs}
+[testenv:translations]
+envdir = {toxworkdir}/venv
+commands =
+ {envpython} {toxinidir}/manage.py extract_messages -v 0 --traceback
+ {envpython} {toxinidir}/manage.py compilemessages -v 0 --traceback
+
[testenv:bandit]
envdir = {toxworkdir}/venv
commands = bandit -r horizon openstack_auth openstack_dashboard -n5 -x tests -ll
