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 sync the version of the requests-mock to
the current global requirements.

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

Signed-off-by: Charles Short <zulcss@gmail.com>
Signed-off-by: Luigi Toscano <ltoscano@redhat.com>
Change-Id: I599c74c3ac152c0fc1bc0dddfda8c05a41ddf5a1
This commit is contained in:
Charles Short 2018-06-29 12:19:57 +02:00 committed by Luigi Toscano
parent 296c183388
commit 2da04caee6
3 changed files with 3 additions and 6 deletions

View File

@ -34,7 +34,6 @@ netifaces==0.10.4
openstacksdk==0.11.2
os-client-config==1.28.0
os-service-types==1.2.0
os-testr==1.0.0
osc-lib==1.8.0
oslo.config==5.2.0
oslo.context==2.19.2
@ -64,14 +63,13 @@ python-subunit==1.0.0
pytz==2013.6
PyYAML==3.12
requests==2.14.2
requests-mock==1.1.0
requests-mock==1.2.0
requestsexceptions==1.2.0
rfc3986==0.3.1
simplejson==3.5.1
six==1.10.0
stestr==1.0.0
stevedore==1.20.0
testrepository==0.0.18
testtools==2.2.0
traceback2==1.4.0
unittest2==1.1.0

View File

@ -7,6 +7,5 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
mock>=2.0.0 # BSD
oslotest>=3.2.0 # Apache-2.0
os-testr>=1.0.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
requests-mock>=1.2.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD

View File

@ -14,7 +14,7 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = find . -type f -name "*.pyc" -delete
ostestr {posargs}
stestr run {posargs}
whitelist_externals = find
rm
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY