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. Also adjust requirements to pass the gate. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: I79b2220c20a04e2e33360bc330b5b4b4124caf71 Signed-off-by: Chuck Short <chucks@redhat.com>
This commit is contained in:
parent
e7c3218f71
commit
cce25ed22e
@ -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
|
||||||
|
@ -6,7 +6,7 @@ alembic>=0.8.10 # MIT
|
|||||||
Babel!=2.4.0,>=2.3.4 # BSD
|
Babel!=2.4.0,>=2.3.4 # BSD
|
||||||
construct<2.9,>=2.8.10 # MIT
|
construct<2.9,>=2.8.10 # MIT
|
||||||
eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT
|
eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT
|
||||||
Flask!=0.11,<1.0,>=0.10 # BSD
|
Flask!=0.11,>=0.10 # BSD
|
||||||
futurist>=1.2.0 # Apache-2.0
|
futurist>=1.2.0 # Apache-2.0
|
||||||
ironic-lib>=2.5.0 # Apache-2.0
|
ironic-lib>=2.5.0 # Apache-2.0
|
||||||
jsonpath-rw<2.0,>=1.2.0 # Apache-2.0
|
jsonpath-rw<2.0,>=1.2.0 # Apache-2.0
|
||||||
|
@ -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
|
||||||
|
4
tox.ini
4
tox.ini
@ -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
|
||||||
@ -27,7 +27,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*'
|
||||||
|
Loading…
Reference in New Issue
Block a user