From 2410041dd3c46e24589d2b3a77987d1e7720accd Mon Sep 17 00:00:00 2001 From: lolwww Date: Fri, 21 Jun 2019 15:47:26 +0300 Subject: [PATCH] Replace ostestr with stestr --- test-requirements.txt | 2 +- tox.ini | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index ffc0583..01767d3 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 charms.reactive mock>=1.2 coverage>=3.6 diff --git a/tox.ini b/tox.ini index b60a6da..d4bdff2 100644 --- a/tox.ini +++ b/tox.ini @@ -13,12 +13,12 @@ install_command = [testenv:py35] basepython = python3 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 @@ -35,7 +35,7 @@ setenv = PYTHON=coverage run commands = coverage erase - ostestr {posargs} + stestr run {posargs} coverage combine coverage html -d cover coverage xml -o cover/coverage.xml