Merge "Add a separate tox env for extracting and compiling translations"

This commit is contained in:
Zuul 2020-01-06 15:22:04 +00:00 committed by Gerrit Code Review
commit 6c2bb934b3

@ -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