Merge "delete python bytecode including pyo before every test run"

This commit is contained in:
Jenkins 2016-10-30 13:35:45 +00:00 committed by Gerrit Code Review
commit 139dd64c56
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
/usr/bin/find . -type f -name "*.pyc" -delete
/usr/bin/find . -type f -name "*.py[c|o]" -delete
coverage erase
python setup.py testr --coverage --testr-args='{posargs}'
coverage report -m
@ -68,7 +68,7 @@ commands =
deps = -r{toxinidir}/test-requirements.txt
setenv = OS_TEST_PATH={toxinidir}/functionaltests
commands =
/usr/bin/find . -type f -name "*.pyc" -delete
/usr/bin/find . -type f -name "*.py[c|o]" -delete
/bin/bash {toxinidir}/functionaltests/pretty_tox.sh '{posargs}'
passenv = KMIP_PLUGIN_ENABLED