Merge "Switch to using stestr"

This commit is contained in:
Zuul 2018-06-25 12:21:23 +00:00 committed by Gerrit Code Review
commit 8c55c412c9
2 changed files with 3 additions and 4 deletions

View File

@ -11,7 +11,7 @@ fixtures>=3.0.0 # Apache-2.0/BSD
coverage!=4.4,>=4.0 # Apache-2.0
mock>=2.0.0 # BSD
oslotest>=3.2.0 # Apache-2.0
os-testr>=1.0.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
simplejson>=3.5.1 # MIT
# documentation

View File

@ -19,21 +19,20 @@ deps =
-r{toxinidir}/requirements.txt
commands =
find ./ -type f -name '*.pyc' -delete
rm -Rf .testrepository/times.dbm
[testenv:py27]
description = Runs unit test using Python2.7
basepython = python2.7
commands =
{[testenv]commands}
ostestr {posargs}
stestr run {posargs}
[testenv:py35]
description = Runs unit test using Python3.5
basepython = python3.5
commands =
{[testenv]commands}
ostestr {posargs}
stestr run {posargs}
[testenv:cover]
description = Calculates code coverage