Merge "Switch to using stestr"

This commit is contained in:
Zuul 2018-07-16 14:49:41 +00:00 committed by Gerrit Code Review
commit 7991f12e17
3 changed files with 4 additions and 4 deletions

View File

@ -116,7 +116,7 @@ sqlalchemy-migrate==0.11.0
SQLAlchemy==1.0.10 SQLAlchemy==1.0.10
sqlparse==0.2.4 sqlparse==0.2.4
statsd==3.2.2 statsd==3.2.2
stestr==2.0.0 stestr==1.0.0
stevedore==1.20.0 stevedore==1.20.0
Tempita==0.5.2 Tempita==0.5.2
testrepository==0.0.20 testrepository==0.0.20

View File

@ -8,7 +8,7 @@ hacking>=1.0.0,<1.2.0 # Apache-2.0
mock>=2.0.0 # BSD mock>=2.0.0 # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
openstackdocstheme>=1.18.1 # Apache-2.0 openstackdocstheme>=1.18.1 # Apache-2.0
os-testr>=1.0.0 # Apache-2.0 stestr>=1.0.0 # Apache-2.0
reno>=2.5.0 # Apache-2.0 reno>=2.5.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD fixtures>=3.0.0 # Apache-2.0/BSD
testresources>=2.0.0 # Apache-2.0/BSD testresources>=2.0.0 # Apache-2.0/BSD

View File

@ -7,7 +7,7 @@ install_command = pip install -U -c{env:UPPER_CONSTRAINTS_FILE:https://git.opens
deps = deps =
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
commands = commands =
ostestr {posargs} stestr run {posargs}
setenv = setenv =
VIRTUAL_ENV={envdir} VIRTUAL_ENV={envdir}
PYTHONDONTWRITEBYTECODE=1 PYTHONDONTWRITEBYTECODE=1
@ -30,7 +30,7 @@ setenv =
PYTHON=coverage run --branch --omit='*test*' --source ironic_inspector --parallel-mode PYTHON=coverage run --branch --omit='*test*' --source ironic_inspector --parallel-mode
commands = commands =
coverage erase coverage erase
ostestr {posargs} stestr run {posargs}
coverage combine coverage combine
coverage report -m --omit='*test*' --fail-under 90 coverage report -m --omit='*test*' --fail-under 90
coverage html -d ./cover --omit='*test*' coverage html -d ./cover --omit='*test*'