From 961972077a13cc92abe60096622717d5ae997d31 Mon Sep 17 00:00:00 2001 From: Will Miller Date: Wed, 19 Sep 2018 08:40:46 +0000 Subject: [PATCH] Add stestr config file --- .stestr.conf | 3 +++ tox.ini | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .stestr.conf diff --git a/.stestr.conf b/.stestr.conf new file mode 100644 index 0000000..d9a8fc4 --- /dev/null +++ b/.stestr.conf @@ -0,0 +1,3 @@ +[DEFAULT] +test_path=${TESTS_DIR:-./tests/} +top_dir=./ diff --git a/tox.ini b/tox.ini index 7bb19aa..bec29c4 100644 --- a/tox.ini +++ b/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