Switch to using stestr

According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: Idf7736fb455d0a13da5a8b6140f5eaa7fa44cb99
Signed-off-by: Charles Short <zulcss@gmail.com>
This commit is contained in:
Charles Short 2018-06-01 09:22:31 -04:00
parent 3f730d3009
commit 11ed23ce78
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]
deps =
@ -35,7 +35,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*'