From 89fbae42acc4821661ffe141371d4933de6e4dc7 Mon Sep 17 00:00:00 2001 From: Chuck Short Date: Wed, 27 Jun 2018 14:49:03 -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: Ibb1e23aceeb9a864306c52b410bda77736454ef0 Signed-off-by: Chuck Short --- test-requirements.txt | 2 +- tox.ini | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index fefbb086..0b114859 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,7 +7,7 @@ eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT flake8-import-order>=0.13 # LGPLv3 hacking>=1.0.0,<1.1.0 # Apache-2.0 mock>=2.0.0 # BSD -os-testr>=1.0.0 # Apache-2.0 +stestr>=1.0.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0 testscenarios>=0.4 # Apache-2.0/BSD testtools>=2.2.0 # MIT diff --git a/tox.ini b/tox.ini index 2e62ed03..91bcc1bc 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,7 @@ deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt -commands = ostestr {posargs} +commands = stestr run {posargs} [flake8] show-source = True @@ -43,7 +43,7 @@ setenv = VIRTUALENV={envdir} PYTHON=coverage run --source ironic_lib --omit='*tests*' --parallel-mode commands = coverage erase - ostestr {posargs} + stestr run {posargs} coverage combine coverage report --omit='*tests*' coverage html -d ./cover --omit='*tests*'