Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
unit tests fail if _proxy env vars are set #3739
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dpb1 commentedJun 15, 2017
•
Edited 1 time
-
dpb1
Jun 15, 2017
python-boto 2.44.0
When running the unit tests in the develop branch as of 0a9b114, I get test errors if I have https_proxy variables set in my environment before starting the test. Errors are of the form:
Upon more careful inspection, it seems the connection code is overriding mocks that the unit tests set up if it detects https_proxy is set.
The workaround is simple, A command line like the following works fine: