From da16f317315280269821acb21338018bf0825a5a Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Wed, 10 Feb 2021 11:12:10 +0000 Subject: [PATCH] Migrate unit tests from testr to stestr Change-Id: Icc61c198a2df0879bdf3cd2458ec827e2ed04d7c --- test-requirements.txt | 4 ++-- tox.ini | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 3d6178e..50c703f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,5 +1,5 @@ charms.reactive -flake8>=2.2.4,<=2.4.1 +flake8>=2.2.4 mock -os-testr>=0.4.1 +stestr>=2.2.0 git+https://github.com/openstack/charms.openstack.git#egg=charms.openstack diff --git a/tox.ini b/tox.ini index 49622c6..73e7aff 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ skip_missing_interpreters = False setenv = VIRTUAL_ENV={envdir} PYTHONHASHSEED=0 install_command = pip install {opts} {packages} -commands = ostestr {posargs} +commands = stestr run {posargs} [testenv:py3] basepython = python3