Merge "Extracted config check from pep8 to separate env"

This commit is contained in:
Jenkins 2015-01-08 02:02:49 +00:00 committed by Gerrit Code Review
commit 6e479d711a
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,6 @@ downloadcache = ~/cache/pip
[testenv:pep8]
commands =
flake8 {posargs}
{toxinidir}/tools/config/check_uptodate.sh
# Check that .po and .pot files are valid:
bash -c "find sahara -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
# Run bashate checks
@ -63,6 +62,9 @@ commands =
oslo-config-generator --config-file tools/config/config-generator.sahara.conf \
--output-file etc/sahara/sahara.conf.sample
[testenv:checkconfig]
commands =
{toxinidir}/tools/config/check_uptodate.sh
[testenv:pip-missing-reqs]
# do not install test-requirements as that will pollute the virtualenv for