summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAkihiro Motoki <motoki@da.jp.nec.com>2014-10-10 05:16:31 +0900
committerAkihiro Motoki <motoki@da.jp.nec.com>2014-10-10 05:38:53 +0900
commitb6857b5fa7bc2412b75f6136e966dfede83d5a8e (patch)
tree2cfe9e744fb4618010ace10a79e97b65e8fab295 /tox.ini
parent1b4b38aef2853a6e5a0c136917d381319a9954b6 (diff)
downloadhorizon-b6857b5fa7bc2412b75f6136e966dfede83d5a8e.tar.gz
Add check for makemessages in tox.ini PEP8
This commit adds a check of extracting message catalogs to tox PEP8 check. It is useful to avoid a bug like bug 1379054. It also fixes a warning "WARNING:root:No local_settings file found." in run_tests.sh --makemessages and --compilemessages by specifying Django settings. Closes-Bug: #1379507 Change-Id: I5541e28a87d48601202bf8180a18eadb5a91770b
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 693b62de2..1c31374ec 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,7 +20,9 @@ deps = -r{toxinidir}/requirements.txt
commands = /bin/bash run_tests.sh -N --no-pep8 {posargs}
[testenv:pep8]
-commands = /bin/bash run_tests.sh -N --pep8
+commands =
+ /bin/bash run_tests.sh -N --pep8
+ /bin/bash run_tests.sh -N --makemessages --check-only
[testenv:venv]
commands = {posargs}