From 0c9a419d8f8d4123c339ff26aec448acd2de62b0 Mon Sep 17 00:00:00 2001 From: Chuck Short Date: Wed, 27 Jun 2018 15:02:58 -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: I3c5d4e068ee5f2919a4061e8f7b78f724cd61724 Signed-off-by: Chuck Short --- test-requirements.txt | 2 +- tox.ini | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 9c754489a8..e2b8b85004 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -21,7 +21,7 @@ testscenarios>=0.4 # Apache-2.0/BSD testtools>=2.2.0 # MIT psutil>=3.2.2 # BSD oslotest>=3.2.0 # Apache-2.0 -os-testr>=1.0.0 # Apache-2.0 +stestr>=2.0.0 # Apache-2.0 doc8>=0.6.0 # Apache-2.0 # Optional packages that should be installed when testing diff --git a/tox.ini b/tox.ini index 27c3f7728f..28aed788ba 100644 --- a/tox.ini +++ b/tox.ini @@ -28,19 +28,19 @@ whitelist_externals = bash passenv = *_proxy *_PROXY [testenv:py27] -commands = ostestr --slowest {posargs} +commands = stestr run --slowest {posargs} [testenv:py35] basepython = python3.5 -commands = ostestr --slowest {posargs} +commands = stestr run --slowest {posargs} [testenv:py36] basepython = python3.6 -commands = ostestr --slowest {posargs} +commands = stestr run --slowest {posargs} [testenv:py37] basepython = python3.7 -commands = ostestr --slowest {posargs} +commands = stestr run --slowest {posargs} [testenv:functional] setenv =