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:
parent
094ec4e72a
commit
a1e5c1c039
|
@ -22,7 +22,7 @@ testscenarios>=0.4 # Apache-2.0/BSD
|
||||||
testtools>=2.2.0 # MIT
|
testtools>=2.2.0 # MIT
|
||||||
psutil>=3.2.2 # BSD
|
psutil>=3.2.2 # BSD
|
||||||
oslotest>=1.10.0 # Apache-2.0
|
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
|
# Optional packages that should be installed when testing
|
||||||
PyMySQL>=0.7.6 # MIT License
|
PyMySQL>=0.7.6 # MIT License
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -12,7 +12,7 @@ install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstac
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands =
|
||||||
/bin/rm -f .testrepository/times.dbm
|
/bin/rm -f .testrepository/times.dbm
|
||||||
ostestr --slowest {posargs}
|
stestr run --slowest {posargs}
|
||||||
whitelist_externals = bash
|
whitelist_externals = bash
|
||||||
passenv = *_proxy *_PROXY
|
passenv = *_proxy *_PROXY
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue