Add a separate tox env for extracting and compiling translations
Change-Id: I44d4c93142365f1a069be59a4c4d5650952c58c6
This commit is contained in:
parent
a2a3e8b6c3
commit
a617bb67e2
6
tox.ini
6
tox.ini
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user