From 1247e7bd8eec1e035b91a20a7660c4ee22878948 Mon Sep 17 00:00:00 2001 From: Charles Short Date: Tue, 19 Jun 2018 19:52:14 -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: I36d605e1bcb17bffd0effcf3018e87ba6c1a0865 Signed-off-by: Charles Short --- test-requirements.txt | 2 +- tox.ini | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 6b97cf9a..c9af6856 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -11,7 +11,7 @@ fixtures>=3.0.0 # Apache-2.0/BSD 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 simplejson>=3.5.1 # MIT # documentation diff --git a/tox.ini b/tox.ini index d2d0ca62..e715abe4 100644 --- a/tox.ini +++ b/tox.ini @@ -19,21 +19,20 @@ deps = -r{toxinidir}/requirements.txt commands = find ./ -type f -name '*.pyc' -delete - rm -Rf .testrepository/times.dbm [testenv:py27] description = Runs unit test using Python2.7 basepython = python2.7 commands = {[testenv]commands} - ostestr {posargs} + stestr run {posargs} [testenv:py35] description = Runs unit test using Python3.5 basepython = python3.5 commands = {[testenv]commands} - ostestr {posargs} + stestr run {posargs} [testenv:cover] description = Calculates code coverage