Add stestr config file

This commit is contained in:
Will Miller 2018-09-19 08:40:46 +00:00
parent 1375df399a
commit 961972077a
2 changed files with 5 additions and 2 deletions

3
.stestr.conf Normal file
View File

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

View File

@ -22,7 +22,7 @@ deps =
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
commands = commands =
stestr run --config {toxinidir}/.stestr.conf {posargs} stestr run {posargs}
[testenv:pep8] [testenv:pep8]
basepython = python2.7 basepython = python2.7
@ -36,7 +36,7 @@ setenv =
PYTHON=coverage run --source tenks,ansible/action_plugins --parallel-mode PYTHON=coverage run --source tenks,ansible/action_plugins --parallel-mode
commands = commands =
coverage erase coverage erase
stestr run --config {toxinidir}/.stestr.conf {posargs} stestr run {posargs}
coverage combine coverage combine
coverage report coverage report
coverage html -d cover coverage html -d cover