summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorColleen Murphy <colleen@gazlene.net>2019-02-28 21:16:35 +0100
committerColleen Murphy <colleen@gazlene.net>2019-02-28 21:16:35 +0100
commita2f04771f6d10b2d2af8ddfe9b257917b2128539 (patch)
treef3d6c8ea3c35ec9de86c2b850ddfd7432d7b2e9e /tox.ini
parentfca37ea65b851460cad371d36d3c0d9d6bc3749d (diff)
downloadkeystonemiddleware-a2f04771f6d10b2d2af8ddfe9b257917b2128539.tar.gz
Fix debug tox environment
Without this patch, inserting a breakpoint causes the debug tox environment to hang for a long time until the testenv timeout is reached. This patch modifies the testenv to use similar stdout/stderr settings that we use in keystoneclient and keystoneauth, which seems to fix the issue, and removes other unnecessary settings. Change-Id: I2f2f8f4738f43648a6bda067efe605db5807eaff
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 2 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini
index 818f125..017ef02 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,11 +6,8 @@ envlist = py36,py35,py27,pep8,releasenotes
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
- OS_STDOUT_CAPTURE=1
- OS_STDERR_CAPTURE=1
- OS_TEST_TIMEOUT=60
- TESTS_DIR=./keystonemiddleware/tests/unit/
-
+ OS_STDOUT_NOCAPTURE=False
+ OS_STDERR_NOCAPTURE=False
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/requirements.txt