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

Change-Id: I3c5d4e068ee5f2919a4061e8f7b78f724cd61724
Signed-off-by: Chuck Short <chucks@redhat.com>
This commit is contained in:
Chuck Short 2018-06-27 15:02:58 -04:00 committed by Sean McGinnis
parent 6cd76cb591
commit 0c9a419d8f
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
2 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
psutil>=3.2.2 # BSD
oslotest>=3.2.0 # Apache-2.0
os-testr>=1.0.0 # Apache-2.0
stestr>=2.0.0 # Apache-2.0
doc8>=0.6.0 # Apache-2.0
# Optional packages that should be installed when testing

View File

@ -28,19 +28,19 @@ whitelist_externals = bash
passenv = *_proxy *_PROXY
[testenv:py27]
commands = ostestr --slowest {posargs}
commands = stestr run --slowest {posargs}
[testenv:py35]
basepython = python3.5
commands = ostestr --slowest {posargs}
commands = stestr run --slowest {posargs}
[testenv:py36]
basepython = python3.6
commands = ostestr --slowest {posargs}
commands = stestr run --slowest {posargs}
[testenv:py37]
basepython = python3.7
commands = ostestr --slowest {posargs}
commands = stestr run --slowest {posargs}
[testenv:functional]
setenv =