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