From 3add6ce9c62579defe99ac09e878c2aed40e6b53 Mon Sep 17 00:00:00 2001 From: Chuck Short Date: Fri, 29 Jun 2018 11:51:21 -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: Ifb460199c94d748988d4f0e836e90d1dd6f294bc Signed-off-by: Chuck Short --- .stestr.conf | 3 +++ test-requirements.txt | 2 +- tox.ini | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .stestr.conf diff --git a/.stestr.conf b/.stestr.conf new file mode 100644 index 00000000..cb465cbf --- /dev/null +++ b/.stestr.conf @@ -0,0 +1,3 @@ +[DEFAULT] +test_path=${OS_TEST_PATH:-./tests} +top_dir=./ diff --git a/test-requirements.txt b/test-requirements.txt index 92747b71..0c9982ce 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,5 +7,5 @@ mock>=2.0.0 # BSD coverage!=4.4,>=4.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0 prometheus_client -os-testr>=1.0.0 # Apache-2.0 +stestr>=1.0.0 # Apache-2.0 docutils>=0.11 # OSI-Approved Open Source, Public Domain diff --git a/tox.ini b/tox.ini index 67eb9fef..025d8717 100644 --- a/tox.ini +++ b/tox.ini @@ -26,7 +26,7 @@ commands = basepython = python2.7 commands = {[testenv]commands} - ostestr {posargs} + stestr run {posargs} [testenv:cover] basepython = python3