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:
parent
63f3f121bb
commit
b9ca1d5344
1
tox.ini
1
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue