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.
See:
https://review.openstack.org/#/c/189569
Closes-Bug: #1465086
Change-Id: Ic227796e201f47db7db7bbe7085ed3fe409e1b13
This commit is contained in:
lvdongbing 2015-12-01 20:50:21 -05:00
parent 693a9417ed
commit cec689f64d
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ skipsdist = True
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
OS_TEST_PATH=senlin/tests/unit
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
deps = -r{toxinidir}/test-requirements.txt