Merge "Switch to using stestr"

This commit is contained in:
Zuul 2018-07-25 19:15:12 +00:00 committed by Gerrit Code Review
commit b74733fd59
4 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@ -26,6 +26,7 @@ pip-log.txt
.tox
nosetests.xml
.testrepository
.stestr
.venv
# Translations

3
.stestr.conf Normal file
View File

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

View File

@ -7,7 +7,7 @@ hacking>=0.9.2,<0.10
coverage>=3.6
python-subunit
oslotest>=1.1.0.0a1
os-testr>=0.4.1
stestr>=2.0.0
testrepository>=0.0.18
testscenarios>=0.4
testtools>=0.9.34

View File

@ -10,7 +10,7 @@ setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = ostestr '{posargs}'
commands = stestr run '{posargs}'
[testenv:pep8]
commands = flake8