summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Short <zulcss@gmail.com>2018-06-29 12:19:57 +0200
committerLuigi Toscano <ltoscano@redhat.com>2018-06-29 14:59:25 +0200
commit2da04caee69a1bd5499c9a81fa7a97813f20517c (patch)
tree3cc770f5cc6edfe46e3494cb0a8346d659f651f1
parent296c1833889eea294e53e81774624ea65a399254 (diff)
downloadpython-saharaclient-2da04caee69a1bd5499c9a81fa7a97813f20517c.tar.gz
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
-rw-r--r--lower-constraints.txt4
-rw-r--r--test-requirements.txt3
-rw-r--r--tox.ini2
3 files changed, 3 insertions, 6 deletions
diff --git a/lower-constraints.txt b/lower-constraints.txt
index eb1c9e8..090f387 100644
--- a/lower-constraints.txt
+++ b/lower-constraints.txt
@@ -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
diff --git a/test-requirements.txt b/test-requirements.txt
index 6dbca11..886ab37 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -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
diff --git a/tox.ini b/tox.ini
index c99f39a..304c267 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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