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: I36d605e1bcb17bffd0effcf3018e87ba6c1a0865 Signed-off-by: Charles Short <zulcss@gmail.com>
This commit is contained in:
parent
1562cdb243
commit
1247e7bd8e
|
@ -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