Add stestr config file
This commit is contained in:
parent
1375df399a
commit
961972077a
3
.stestr.conf
Normal file
3
.stestr.conf
Normal file
@ -0,0 +1,3 @@
|
||||
[DEFAULT]
|
||||
test_path=${TESTS_DIR:-./tests/}
|
||||
top_dir=./
|
4
tox.ini
4
tox.ini
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user