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 63ef16c1a6
commit 993ad34d31
1 changed files with 3 additions and 1 deletions

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