diff options
author | Colleen Murphy <colleen@gazlene.net> | 2019-02-28 21:16:35 +0100 |
---|---|---|
committer | Colleen Murphy <colleen@gazlene.net> | 2019-02-28 21:16:35 +0100 |
commit | a2f04771f6d10b2d2af8ddfe9b257917b2128539 (patch) | |
tree | f3d6c8ea3c35ec9de86c2b850ddfd7432d7b2e9e /tox.ini | |
parent | fca37ea65b851460cad371d36d3c0d9d6bc3749d (diff) | |
download | keystonemiddleware-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.ini | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 |