delete python bytecode including pyo before every test run

Change-Id: I7567c0a7c484f70a9772d1ae0cf0ce057e95778e
This commit is contained in:
avnish 2016-09-15 18:00:01 +05:30
parent 40b3b3473b
commit eb2368046a
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ setenv =
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
find . -type f -name "*.pyc" -delete
find . -type f -name "*.py[c|o]" -delete
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
@ -56,4 +56,4 @@ setenv = PYTHONHASHSEED=0
commands = python setup.py build_sphinx
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html