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: I0b5b080be1fefc8de28f40a4afced16608964b2c Signed-off-by: Charles Short <zulcss@gmail.com>
This commit is contained in:
parent
d24f41281b
commit
1c1d23c723
@ -17,7 +17,7 @@ debtcollector==1.19.0
|
|||||||
decorator==4.2.1
|
decorator==4.2.1
|
||||||
deprecation==2.0
|
deprecation==2.0
|
||||||
doc8==0.6.0
|
doc8==0.6.0
|
||||||
docker==3.1.4
|
docker==2.4.2
|
||||||
docker-pycreds==0.2.2
|
docker-pycreds==0.2.2
|
||||||
docutils==0.11
|
docutils==0.11
|
||||||
dogpile.cache==0.6.5
|
dogpile.cache==0.6.5
|
||||||
@ -56,29 +56,29 @@ openstacksdk==0.12.0
|
|||||||
os-client-config==1.29.0
|
os-client-config==1.29.0
|
||||||
os-service-types==1.2.0
|
os-service-types==1.2.0
|
||||||
os-testr==1.0.0
|
os-testr==1.0.0
|
||||||
osc-lib==1.10.0
|
osc-lib==1.8.0
|
||||||
oslo.concurrency==3.25.0
|
oslo.concurrency==3.25.0
|
||||||
oslo.config==5.2.0
|
oslo.config==5.2.0
|
||||||
oslo.context==2.20.0
|
oslo.context==2.20.0
|
||||||
oslo.i18n==3.20.0
|
oslo.i18n==3.15.3
|
||||||
oslo.log==3.37.0
|
oslo.log==3.36.0
|
||||||
oslo.messaging==5.29.0
|
oslo.messaging==5.29.0
|
||||||
oslo.middleware==3.31.0
|
oslo.middleware==3.31.0
|
||||||
oslo.serialization==2.25.0
|
oslo.serialization==2.25.0
|
||||||
oslo.service==1.24.0
|
oslo.service==1.24.0
|
||||||
oslo.utils==3.36.0
|
oslo.utils==3.33.0
|
||||||
oslotest==3.2.0
|
oslotest==3.2.0
|
||||||
osprofiler==1.4.0
|
osprofiler==1.4.0
|
||||||
packaging==17.1
|
packaging==17.1
|
||||||
paramiko==2.0.0
|
paramiko==2.0.0
|
||||||
Paste==2.0.2
|
Paste==2.0.2
|
||||||
PasteDeploy==1.5.0
|
PasteDeploy==1.5.0
|
||||||
pbr==3.1.1
|
pbr==2.0.0
|
||||||
pep8==1.5.7
|
pep8==1.5.7
|
||||||
pika==0.10.0
|
pika==0.10.0
|
||||||
pika-pool==0.1.3
|
pika-pool==0.1.3
|
||||||
positional==1.2.1
|
positional==1.2.1
|
||||||
prettytable==0.7.2
|
prettytable==0.7.1
|
||||||
pyasn1==0.1.8
|
pyasn1==0.1.8
|
||||||
pycparser==2.18
|
pycparser==2.18
|
||||||
pyflakes==0.8.1
|
pyflakes==0.8.1
|
||||||
@ -92,7 +92,7 @@ python-glanceclient==2.9.1
|
|||||||
python-keystoneclient==3.15.0
|
python-keystoneclient==3.15.0
|
||||||
python-mimeparse==1.6.0
|
python-mimeparse==1.6.0
|
||||||
python-novaclient==10.1.0
|
python-novaclient==10.1.0
|
||||||
python-openstackclient==3.14.0
|
python-openstackclient==3.12.0
|
||||||
python-subunit==1.0.0
|
python-subunit==1.0.0
|
||||||
pytz==2018.3
|
pytz==2018.3
|
||||||
PyYAML==3.12
|
PyYAML==3.12
|
||||||
@ -106,7 +106,7 @@ simplejson==3.13.2
|
|||||||
six==1.11.0
|
six==1.11.0
|
||||||
smmap==0.9.0
|
smmap==0.9.0
|
||||||
statsd==3.2.1
|
statsd==3.2.1
|
||||||
stestr==1.0.0
|
stestr==2.0.0
|
||||||
stevedore==1.28.0
|
stevedore==1.28.0
|
||||||
tempest==17.1.0
|
tempest==17.1.0
|
||||||
tenacity==3.2.1
|
tenacity==3.2.1
|
||||||
@ -120,5 +120,5 @@ urllib3==1.22
|
|||||||
vine==1.1.4
|
vine==1.1.4
|
||||||
warlock==1.3.0
|
warlock==1.3.0
|
||||||
WebOb==1.7.1
|
WebOb==1.7.1
|
||||||
websocket-client==0.47.0
|
websocket-client==0.44.0
|
||||||
wrapt==1.10.11
|
wrapt==1.10.11
|
||||||
|
@ -9,7 +9,7 @@ ddt>=1.0.1 # MIT
|
|||||||
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
|
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
|
||||||
oslotest>=3.2.0 # Apache-2.0
|
oslotest>=3.2.0 # Apache-2.0
|
||||||
osprofiler>=1.4.0 # Apache-2.0
|
osprofiler>=1.4.0 # Apache-2.0
|
||||||
os-testr>=1.0.0 # Apache-2.0
|
stestr>=2.0.0
|
||||||
python-subunit>=1.0.0 # Apache-2.0/BSD
|
python-subunit>=1.0.0 # Apache-2.0/BSD
|
||||||
tempest>=17.1.0 # Apache-2.0
|
tempest>=17.1.0 # Apache-2.0
|
||||||
testresources>=2.0.0 # Apache-2.0/BSD
|
testresources>=2.0.0 # Apache-2.0/BSD
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
TESTRARGS=$1
|
|
||||||
|
|
||||||
# --until-failure is not compatible with --subunit see:
|
|
||||||
#
|
|
||||||
# https://bugs.launchpad.net/testrepository/+bug/1411804
|
|
||||||
#
|
|
||||||
# this work around exists until that is addressed
|
|
||||||
if [[ "$TESTARGS" =~ "until-failure" ]]; then
|
|
||||||
python setup.py testr --slowest --testr-args="$TESTRARGS"
|
|
||||||
else
|
|
||||||
python setup.py testr --slowest --testr-args="--subunit $TESTRARGS" | subunit-trace -f
|
|
||||||
fi
|
|
5
tox.ini
5
tox.ini
@ -17,7 +17,8 @@ deps = -r{toxinidir}/requirements.txt
|
|||||||
|
|
||||||
commands =
|
commands =
|
||||||
find . -type f -name "*.py[c|o]" -delete
|
find . -type f -name "*.py[c|o]" -delete
|
||||||
bash tools/pretty_tox.sh '{posargs}'
|
stestr run {posargs}
|
||||||
|
stestr slowest
|
||||||
|
|
||||||
|
|
||||||
[testenv:bandit]
|
[testenv:bandit]
|
||||||
@ -80,7 +81,7 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
|||||||
import_exceptions = zunclient._i18n
|
import_exceptions = zunclient._i18n
|
||||||
|
|
||||||
[testenv:functional]
|
[testenv:functional]
|
||||||
commands =
|
commands =
|
||||||
find . -type f -name "*.py[c|o]" -delete
|
find . -type f -name "*.py[c|o]" -delete
|
||||||
ostestr {posargs}
|
ostestr {posargs}
|
||||||
setenv =
|
setenv =
|
||||||
|
Loading…
Reference in New Issue
Block a user