Generate locale messages at dev server startup
By default, Horizon doesn't compile localized messages in tox
environment. It leads to silent fail of language change with 'Success'
message. Proposed patch includes compilation of messages to tox runserver
command
@@ -160,7 +160,10 @@ commands = {envpython} {toxinidir}/manage.py {posargs}
[testenv:runserver]
basepython = python3
envdir = {toxworkdir}/venv
-commands = {envpython} {toxinidir}/manage.py runserver {posargs}
+commands =
+ {envpython} {toxinidir}/manage.py compilemessages
+ {envpython} {toxinidir}/manage.py collectstatic -c --noinput
+ {envpython} {toxinidir}/manage.py runserver {posargs}
[testenv:bandit]
basepython = python3
