Merge "Switch to using stestr"
This commit is contained in:
commit
8c55c412c9
|
@ -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
|
||||
|
|
5
tox.ini
5
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue