Migrate unit tests fully to stestr

Change-Id: Ifbeadf1df3aaa69197b77d422eda8fe36f79411f
This commit is contained in:
Alex Kavanagh 2021-02-10 10:55:25 +00:00
parent bc908fb587
commit 6b39be106b
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
charms.reactive charms.reactive
flake8>=2.2.4,<=2.4.1 flake8>=2.2.4
mock mock
os-testr>=0.4.1 stestr>=2.2.0
git+https://github.com/openstack/charms.openstack.git#egg=charms.openstack git+https://github.com/openstack/charms.openstack.git#egg=charms.openstack

View File

@ -11,7 +11,7 @@ setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0 PYTHONHASHSEED=0
install_command = install_command =
pip install {opts} {packages} pip install {opts} {packages}
commands = ostestr {posargs} commands = stestr run {posargs}
[testenv:py3] [testenv:py3]
basepython = python3 basepython = python3