delete python bytecode including pyo before every test run

Change-Id: Ie0ba4d6243421ccfd63d75817a37bda78564baa5
This commit is contained in:
Prince Katiyar 2016-09-16 12:32:12 +05:30
parent 4ec6192e76
commit 728646e165

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]