summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorTin Lam <tin@irrational.io>2017-09-15 10:13:38 -0500
committerTin Lam <tin@irrational.io>2017-10-02 21:57:27 -0500
commit2fd802745d8de02f7d67c5fdaded5236d6bf2e97 (patch)
tree688007bd7d64dcd1bf7793c79e535d363ec8422d /tox.ini
parentcd598a4f839bdd58722240f6a30b992af2ebbe69 (diff)
downloadkeystonemiddleware-2fd802745d8de02f7d67c5fdaded5236d6bf2e97.tar.gz
Updates for stestr
Per changes to os-testr [1], this patch set updates the code to leverage stestr and exclude the newly generated .stestr directory [1] http://lists.openstack.org/pipermail/openstack-dev/2017-September/122135.html Change-Id: Ic4713af0ad888bd2ca669a5e9de5e9212255e970
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 4 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 9e3ecec..c0a99df 100644
--- a/tox.ini
+++ b/tox.ini
@@ -9,14 +9,15 @@ install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:h
setenv = VIRTUAL_ENV={envdir}
BRANCH_NAME=master
CLIENT_NAME=keystonemiddleware
- OS_STDOUT_NOCAPTURE=False
- OS_STDERR_NOCAPTURE=False
+ OS_STDOUT_CAPTURE=1
+ OS_STDERR_CAPTURE=1
+ OS_TEST_TIMEOUT=60
TESTS_DIR=./keystonemiddleware/tests/unit/
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
.[audit_notifications]
-commands = ostestr {posargs}
+commands = stestr run {posargs}
[testenv:pep8]
commands =