Remove 'pyc' files before running tests

Change-Id: Ide659b7b8f4355bfd2a3dc87016c05d092b408b3
This commit is contained in:
Andrey Kurilin 2015-06-09 18:45:04 +03:00
parent c6ac4ef45e
commit a3eaf794d1

View File

@ -13,7 +13,9 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
install_command = pip install -U {opts} {packages}
usedevelop = True
commands = python setup.py testr --slowest --testr-args='{posargs}'
commands =
find . -type f -name "*.pyc" -delete
python setup.py testr --slowest --testr-args='{posargs}'
distribute = false
basepython = python2.7