Migrate unit tests from testr to stestr

Change-Id: Icc61c198a2df0879bdf3cd2458ec827e2ed04d7c
This commit is contained in:
Alex Kavanagh 2021-02-10 11:12:10 +00:00
parent c3d9d2ad6d
commit da16f31731
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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