Merge "Switch to using stestr"

This commit is contained in:
Zuul 2018-10-31 15:04:07 +00:00 committed by Gerrit Code Review
commit 5c515e3be5
4 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ tools/lintstack.head.py
*.egg-info/
.tox
.testrepository
.stestr

3
.stestr.conf Normal file
View File

@ -0,0 +1,3 @@
[DEFAULT]
test_path=${OS_TEST_PATH:-./novajoin/tests}
top_dir=./

View File

@ -14,7 +14,7 @@ testtools>=2.2.0 # MIT
testrepository>=0.0.18 # Apache-2.0/BSD
testresources>=2.0.0 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
os-testr>=1.0.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
tempest>=17.1.0 # Apache-2.0
bandit>=1.0.1 # Apache-2.0
sphinx!=1.6.6,>=1.6.2 # BSD

View File

@ -21,7 +21,7 @@ deps = -r{toxinidir}/test-requirements.txt
commands =
find . -type f -name "*.pyc" -delete
rm -rf .testrepository/times.dbm
ostestr {posargs}
stestr run {posargs}
whitelist_externals =
bash