Merge "Switch to using stestr"

This commit is contained in:
Zuul 2018-06-11 18:56:21 +00:00 committed by Gerrit Code Review
commit 695f501fa8
2 changed files with 3 additions and 3 deletions

View File

@ -11,6 +11,6 @@ Babel!=2.4.0,>=2.3.4 # BSD
oslotest>=3.2.0 # Apache-2.0
testtools>=2.2.0 # MIT
tempest>=17.1.0 # Apache-2.0
os-testr>=1.0.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
ddt>=1.0.1 # MIT
python-openstackclient>=3.12.0 # Apache-2.0

View File

@ -16,7 +16,7 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
ostestr {posargs}
stestr run {posargs}
[testenv:releasenotes]
basepython = python3
@ -38,7 +38,7 @@ setenv = {[testenv]setenv}
PYTHON=coverage run --source ironicclient --omit='*tests*' --parallel-mode
commands =
coverage erase
ostestr {posargs}
stestr run {posargs}
coverage combine
coverage report --omit='*tests*'
coverage html -d ./cover --omit='*tests*'