Hi Arash, Usually the proxy configuration is set inside the tox.ini file[2] (this is an example of python-tricircleclient[1]). If that works, don’t forget to include it in your commit.
Regards, Victor Morales irc: electrocucaracha [1] https://github.com/openstack/python-tricircleclient/blob/master/tox.ini#L13 [2] https://git.onap.org/dcaegen2/platform/cli/tree/dcae-cli/tox.ini From: <[email protected]> on behalf of Arash Hekmat <[email protected]> Date: Wednesday, May 9, 2018 at 9:13 AM To: "[email protected]" <[email protected]> Subject: [onap-discuss] DCAE CLI Python unit tests with corporate proxy? Hello DCAE team, I have been trying to build the dcaegen2 but I have a problem where the Python unit tests in “dcaegen2/platform/cli/dcae-cli/dcae_cli” are failing and it seems that the reason is that Python requests.get(“url”) function fails to access the url=https://git.onap.org/dcaegen2/platform/cli/plain from behind the corporate proxy. I have configured the environment variables for proxy (in Ubuntu: http_proxy, https_proxy, …) but it seems that Python requests.get(“url”) function (located in: “dcaegen2/platform/cli/dcae-cli/dcae_cli/util/__init__.py”) is ignoring them. How should I configure Python requests.get(“url”) function to use the https proxy? Thanks, Arash This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
