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 Also: https://review.openstack.org/#/c/191600

Change-Id: I0045cb2253a4d102196fdab277462891a886fe3a
Co-Authored-By: Yuiko Takada <takada-yuiko@mxn.nes.nec.co.jp>
Closes-Bug: #1465086
This commit is contained in:
Motohiro OTSUKA 2015-06-15 12:54:41 +09:00
parent 63f3f121bb
commit b9ca1d5344
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ setenv =
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
[testenv:bandit]
deps = -r{toxinidir}/test-requirements-bandit.txt