Merge "Fix stale pyc issue for unit tests"

This commit is contained in:
Jenkins 2015-03-31 20:35:24 +00:00 committed by Gerrit Code Review
commit 2b45684380

View File

@ -7,10 +7,13 @@ skipsdist = True
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
whitelist_externals = find
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/doc-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
commands =
find . -type f -name "*.pyc" -delete
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'