Thanks Victor, that worked, will commit. Arash
From: Morales, Victor [mailto:victor.mora...@intel.com] Sent: Wednesday, May 9, 2018 2:00 PM To: Arash Hekmat <arash.hek...@amdocs.com>; onap-discuss@lists.onap.org Subject: Re: [onap-discuss] DCAE CLI Python unit tests with corporate proxy? 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: <onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org>> on behalf of Arash Hekmat <arash.hek...@amdocs.com<mailto:arash.hek...@amdocs.com>> Date: Wednesday, May 9, 2018 at 9:13 AM To: "onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> 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 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 <https://www.amdocs.com/about/email-disclaimer>
_______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss