Merge "delete python bytecode including pyo before every test run"

This commit is contained in:
Jenkins 2017-01-31 05:20:10 +00:00 committed by Gerrit Code Review
commit 8b7691bb8f
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstac
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
find {toxinidir} -not -path '{toxinidir}/.tox/*' -name '*.pyc' -delete
find {toxinidir} -not -path '{toxinidir}/.tox/*' -name '*.py[c|o]' -delete
python setup.py testr --slowest --testr-args='{posargs}'
whitelist_externals =
@ -22,7 +22,7 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
[testenv:py27log]
commands =
find . -type f -name "*.pyc" -delete
find . -type f -name "*.py[c|o]" -delete
bash tools/pretty_tox.sh '^(?!heat_integrationtests){posargs}'
[testenv:pep8]