Merge "Switch to using stestr"

This commit is contained in:
Zuul 2018-06-29 13:17:32 +00:00 committed by Gerrit Code Review
commit 14ecd53db1
4 changed files with 8 additions and 4 deletions

3
.gitignore vendored
View File

@ -11,4 +11,5 @@ ChangeLog
.coverage
cover/
.testrepository/
doc/build/
doc/build/
.stestr

3
.stestr.conf Normal file
View File

@ -0,0 +1,3 @@
[DEFAULT]
test_path=./tests
top_dir=./

View File

@ -5,9 +5,9 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
bandit>=1.1.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
mock>=2.0.0 # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.5 # BSD
oslosphinx>=4.7.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
os-testr>=1.0.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD
openstackdocstheme>=1.18.1 # Apache-2.0

View File

@ -21,7 +21,7 @@ whitelist_externals = bash
rm
commands =
find . -type f -name "*.py[c|o]" -delete
ostestr {posargs}
stestr run {posargs}
[testenv:cover]
basepython = python2.7