From 8f65d1af8ff4f14d1ca4676f3467c5c694c99a0e Mon Sep 17 00:00:00 2001 From: Chuck Short Date: Fri, 20 Jul 2018 08:34:40 -0400 Subject: [PATCH] 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: Ic4eae5a383616e93f154b99208817ca9f20548cc Signed-off-by: Chuck Short --- lower-constraints.txt | 2 +- test-requirements.txt | 2 +- tox.ini | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index 95087fe0..bb898935 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -94,7 +94,7 @@ snowballstemmer==1.2.1 Sphinx==1.6.5 sphinxcontrib-websupport==1.0.1 statsd==3.2.2 -stestr==2.0.0 +stestr==1.0.0 stevedore==1.28.0 tenacity==4.9.0 testrepository==0.0.20 diff --git a/test-requirements.txt b/test-requirements.txt index bc32de3f..b5958e0e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -13,6 +13,6 @@ oslotest>=3.3.0 # Apache-2.0 testrepository>=0.0.20 # Apache-2.0/BSD testscenarios>=0.5.0 # Apache-2.0/BSD testtools>=2.3.0 # MIT -os-testr>=1.0.0 # Apache-2.0 +stestr>=1.0.0 # Apache-2.0 nosexcover>=1.0.11 # BSD wsgi-intercept>=1.6.0 # MIT License diff --git a/tox.ini b/tox.ini index 9ed179e7..cd8ec9e7 100644 --- a/tox.ini +++ b/tox.ini @@ -29,13 +29,13 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY OS_DEB commands = {[testenv]commands} /bin/cp -r {toxinidir}/nova/virt/lxd/ {toxinidir}/.tox/py27/src/nova/nova/virt/ - ostestr {posargs} + stestr run {posargs} [testenv:py3] commands = {[testenv]commands} /bin/cp -r {toxinidir}/nova/virt/lxd/ {toxinidir}/.tox/py3/src/nova/nova/virt/ - ostestr {posargs} + stestr run {posargs} [testenv:pep8] basepython = python2.7