Delete python bytecode file

This patch delete python bytecode including
pyo before every test run.

Change-Id: I26ca06f305133e27fd3254d67dbad286d62aded4
This commit is contained in:
qinchunhua 2016-10-15 01:09:03 -04:00
parent 11191fc11c
commit b32463ed6d

View File

@ -10,7 +10,7 @@ install_command = pip install -U {opts} {packages}
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}'
whitelist_externals = find