Merge "Switch to using stestr"

This commit is contained in:
Zuul 2018-06-07 13:13:56 +00:00 committed by Gerrit Code Review
commit ca2a0e4db6
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -32,6 +32,7 @@ pip-log.txt
.tox
nosetests.xml
.testrepository
.stestr
.venv
cover

View File

@ -11,4 +11,4 @@ oslotest>=3.2.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
os-testr>=1.0.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0

View File

@ -17,7 +17,7 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
find . -type f -name "*.pyc" -delete
ostestr {posargs}
stestr run {posargs}
whitelist_externals = find
[testenv:pep8]