Delete python bytecode file
This patch delete python bytecode including pyo before every test run. Change-Id: I26ca06f305133e27fd3254d67dbad286d62aded4
This commit is contained in:
2
tox.ini
2
tox.ini
@@ -10,7 +10,7 @@ install_command = pip install -U {opts} {packages}
|
|||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands =
|
||||||
find . -type f -name "*.pyc" -delete
|
find . -type f -name "*.py[c|o]" -delete
|
||||||
python setup.py testr --slowest --testr-args='{posargs}'
|
python setup.py testr --slowest --testr-args='{posargs}'
|
||||||
whitelist_externals = find
|
whitelist_externals = find
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user