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:
Ghanshyam 2015-12-11 09:08:23 +09:00 committed by Ghanshyam Mann
parent 632730169e
commit 78adbf7834
1 changed files with 2 additions and 1 deletions

View File

@ -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