Switch to using stestr

According to Openstack summit session [1] stestr is maintained
project to which all Openstack projects should migrate.
Let's switch it then.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Depends-On: https://review.openstack.org/560493
Change-Id: I7149bd55da66479bda83e8bd2dd2b806e7394342
Signed-off-by: Chuck Short <chucks@redhat.com>
Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
This commit is contained in:
Chuck Short 2018-06-27 14:54:54 -04:00 committed by Kushal Agrawal
parent 094ec4e72a
commit a1e5c1c039
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
psutil>=3.2.2 # BSD
oslotest>=1.10.0 # Apache-2.0
os-testr>=1.0.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
# Optional packages that should be installed when testing
PyMySQL>=0.7.6 # MIT License

View File

@ -12,7 +12,7 @@ install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstac
deps = -r{toxinidir}/test-requirements.txt
commands =
/bin/rm -f .testrepository/times.dbm
ostestr --slowest {posargs}
stestr run --slowest {posargs}
whitelist_externals = bash
passenv = *_proxy *_PROXY