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. Refer patch set [1] [1] https://review.openstack.org/#/c/189569 Change-Id: Iefaab1ebc4e83ed2704630196271cd18c644f9a2
This commit is contained in:
parent
ecb61b58bc
commit
bc480de480
1
tox.ini
1
tox.ini
@ -21,6 +21,7 @@ commands =
|
|||||||
rm -rf .testrepository/times.dbm
|
rm -rf .testrepository/times.dbm
|
||||||
bash tools/pretty_tox.sh '{posargs}'
|
bash tools/pretty_tox.sh '{posargs}'
|
||||||
|
|
||||||
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user