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: Ic4eae5a383616e93f154b99208817ca9f20548cc
Signed-off-by: Chuck Short <chucks@redhat.com>
This commit is contained in:
Chuck Short 2018-07-20 08:34:40 -04:00
parent f1bbc03b65
commit 8f65d1af8f
3 changed files with 4 additions and 4 deletions

View File

@ -94,7 +94,7 @@ snowballstemmer==1.2.1
Sphinx==1.6.5
sphinxcontrib-websupport==1.0.1
statsd==3.2.2
stestr==2.0.0
stestr==1.0.0
stevedore==1.28.0
tenacity==4.9.0
testrepository==0.0.20

View File

@ -13,6 +13,6 @@ oslotest>=3.3.0 # Apache-2.0
testrepository>=0.0.20 # Apache-2.0/BSD
testscenarios>=0.5.0 # Apache-2.0/BSD
testtools>=2.3.0 # MIT
os-testr>=1.0.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
nosexcover>=1.0.11 # BSD
wsgi-intercept>=1.6.0 # MIT License

View File

@ -29,13 +29,13 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY OS_DEB
commands =
{[testenv]commands}
/bin/cp -r {toxinidir}/nova/virt/lxd/ {toxinidir}/.tox/py27/src/nova/nova/virt/
ostestr {posargs}
stestr run {posargs}
[testenv:py3]
commands =
{[testenv]commands}
/bin/cp -r {toxinidir}/nova/virt/lxd/ {toxinidir}/.tox/py3/src/nova/nova/virt/
ostestr {posargs}
stestr run {posargs}
[testenv:pep8]
basepython = python2.7