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: I5b47eff597f3a1a4da2dd8afba08c508d8ebeac9
This commit is contained in:
parent
e74e0eef2d
commit
e48ee5db88
1
tox.ini
1
tox.ini
|
@ -17,6 +17,7 @@ setenv = VIRTUAL_ENV={envdir}
|
||||||
FUELSTAT_DB_ROOT=postgres
|
FUELSTAT_DB_ROOT=postgres
|
||||||
FUELSTAT_DB_ROOTPW=insecure_slave
|
FUELSTAT_DB_ROOTPW=insecure_slave
|
||||||
FUELSTAT_DB_ROOTPGPASS={toxinidir}/pgpass
|
FUELSTAT_DB_ROOTPGPASS={toxinidir}/pgpass
|
||||||
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in New Issue