From 6b39be106b51b676a370752104df5d895171e699 Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Wed, 10 Feb 2021 10:55:25 +0000 Subject: [PATCH] Migrate unit tests fully to stestr Change-Id: Ifbeadf1df3aaa69197b77d422eda8fe36f79411f --- 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 07b680e..b50f1ab 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,7 @@ setenv = VIRTUAL_ENV={envdir} PYTHONHASHSEED=0 install_command = pip install {opts} {packages} -commands = ostestr {posargs} +commands = stestr run {posargs} [testenv:py3] basepython = python3