Merge "Switch to using stestr"

This commit is contained in:
Zuul 2018-09-05 14:46:12 +00:00 committed by Gerrit Code Review
commit e5972b7d58
3 changed files with 5 additions and 5 deletions

View File

@ -60,7 +60,7 @@ openstackdocstheme==1.18.1
openstacksdk==0.12.0
os-client-config==1.28.0
os-service-types==1.2.0
os-testr==1.0.0
stestr==1.0.0
osc-lib==1.10.0
oslo.concurrency==3.25.0
oslo.config==5.2.0

View File

@ -7,7 +7,7 @@ coverage!=4.4,>=4.0 # Apache-2.0
ddt>=1.0.1 # MIT
docker>=2.4.2 # Apache-2.0
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
os-testr>=1.0.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0
openstackdocstheme>=1.18.1 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0

View File

@ -2,7 +2,7 @@
# preserve old behavior of using an arg as a regex when '--' is not present
case $@ in
(*--*) ostestr $@;;
('') ostestr;;
(*) ostestr --regex "$@"
(*--*) stestr run $@;;
('') stestr run;;
(*) stestr run --regex "$@"
esac