Pass environment variables of proxy to tox
When a development environment is under a proxy, tox is failed even if environment variables of the proxy are set. This patch fixes this problem. Closes-Bug: #1525115 Change-Id: I271ab2581af08ffe0a345b0b795f8ae733e6cc0a
This commit is contained in:
parent
632730169e
commit
78adbf7834
3
tox.ini
3
tox.ini
|
@ -20,6 +20,7 @@ setenv = VIRTUAL_ENV={envdir}
|
|||
OSTF_DB_ROOT=postgres
|
||||
OSTF_DB_ROOTPW=insecure_slave
|
||||
OSTF_DB_ROOTPGPASS={toxinidir}/pgpass
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands =
|
||||
/bin/bash "{toxinidir}/etc/tools/prepare_settings.sh"
|
||||
|
@ -51,4 +52,4 @@ show-source = True
|
|||
count = True
|
||||
|
||||
[hacking]
|
||||
import_exceptions = testtools.matchers
|
||||
import_exceptions = testtools.matchers
|
||||
|
|
Loading…
Reference in New Issue