Delete python bytecode file

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

Change-Id: Ie6406337072bebaaa94a2b5437a2c1cece107b56
This commit is contained in:
qinchunhua 2016-10-15 00:55:18 -04:00
parent ebc70a46db
commit 35e6565183

View File

@ -13,7 +13,7 @@ setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
commands =
find . -type f -name "*.pyc" -delete
find . -type f -name "*.py[c|o]" -delete
find . -type d -name "__pycache__" -delete
ostestr --concurrency=6 {posargs}