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 fix this problem. Change-Id: I24ca2f991832e5a0689c1051b60caf949d8225a1
This commit is contained in:
parent
a497f26ebb
commit
9df4c8c868
1
tox.ini
1
tox.ini
@ -12,6 +12,7 @@ commands =
|
||||
coverage run --branch --include "ironic_inspector_ramdisk*" -a -m unittest discover ironic_inspector_ramdisk.test
|
||||
coverage report -m --fail-under 90
|
||||
setenv = PYTHONDONTWRITEBYTECODE=1
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python2.7
|
||||
|
Loading…
Reference in New Issue
Block a user