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: I436e49ab6f87fa7d4bfeaaa915b4ab8e2af6d5b5
This commit is contained in:
Ghanshyam 2015-12-11 09:08:16 +09:00 committed by Ghanshyam Mann
parent f877ebd56a
commit 04f17f635f
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ envlist = py26,py27,pep8
usedevelop = True
install_command = pip install {packages}
setenv = VIRTUAL_ENV={envdir}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
deps = -r{toxinidir}/test-requirements.txt
commands =
nosetests {posargs:fuel_plugin_builder}