Merge "Update to use os-testr to get better report"

This commit is contained in:
Jenkins 2017-05-23 17:40:46 +00:00 committed by Gerrit Code Review
commit 771ade900d
1 changed files with 6 additions and 3 deletions

View File

@ -6,10 +6,13 @@ skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'
commands =
find gluon -type f -name "*.pyc" -delete
ostestr '{posargs}'
whitelist_externals =
find
[testenv:pep8]
commands = flake8