Browse Source

Add stestr config file

changes/18/615218/1
Will Miller 3 years ago
parent
commit
961972077a
  1. 3
      .stestr.conf
  2. 4
      tox.ini

3
.stestr.conf

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

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…
Cancel
Save