[Bug 1974182] Re: Autopkgtest fails when HTTP proxy is used

Lena Voytek 1974182 at bugs.launchpad.net
Tue Nov 29 17:43:54 UTC 2022


** Merge proposal unlinked:
   https://code.launchpad.net/~lvoytek/ubuntu/+source/requests/+git/requests/+merge/433797

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to requests in Ubuntu.
https://bugs.launchpad.net/bugs/1974182

Title:
  Autopkgtest fails when HTTP proxy is used

Status in requests package in Ubuntu:
  Fix Released
Status in requests package in Debian:
  New

Bug description:
  The following tests fail because either of the following environment variables is set:
  * http_proxy
  * https_proxy
  * no_proxy

  The requests package supports these variables and the tests override
  their to test the behavior. However, the test suite does not expect
  these variables to already be set.

  FAILED tests/test_requests.py::TestRequests::test_errors[http://doesnotexist.google.com-ConnectionError]
  FAILED tests/test_requests.py::TestRequests::test_respect_proxy_env_on_send_self_prepared_request
  FAILED tests/test_requests.py::TestRequests::test_respect_proxy_env_on_send_session_prepared_request
  FAILED tests/test_requests.py::TestRequests::test_respect_proxy_env_on_send_with_redirects
  FAILED tests/test_requests.py::TestRequests::test_respect_proxy_env_on_get - ...
  FAILED tests/test_requests.py::TestRequests::test_respect_proxy_env_on_request

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/requests/+bug/1974182/+subscriptions




More information about the foundations-bugs mailing list