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
This commit is contained in:
parent
fca37ea65b
commit
a2f04771f6
7
tox.ini
7
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user