From 3392d93c5f9ee107d92490df1638764112b9c2dc Mon Sep 17 00:00:00 2001 From: Pete Vander Giessen Date: Thu, 7 Mar 2019 17:12:11 -0500 Subject: [PATCH] Replace ostestr with stestr in testing framework. A system upgrade broke ostestr. We can fix it by just calling stestr directly. Change-Id: I98e4c96c4873580f4fbdf5350bd4abe5831971fc --- 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 1b88a5b..cd989d7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,6 +1,6 @@ # Lint and unit test requirements flake8 -os-testr>=0.4.1 +stestr>=2.2.0 requests>=2.18.4 charms.reactive mock>=1.2 diff --git a/tox.ini b/tox.ini index 44f8241..2733fa8 100644 --- a/tox.ini +++ b/tox.ini @@ -35,12 +35,12 @@ commands = true [testenv:py35] basepython = python3.5 deps = -r{toxinidir}/test-requirements.txt -commands = ostestr {posargs} +commands = stestr run {posargs} [testenv:py36] basepython = python3.6 deps = -r{toxinidir}/test-requirements.txt -commands = ostestr {posargs} +commands = stestr run {posargs} [testenv:pep8] basepython = python3