Fix test cases that fail when running behind a proxy
authorDavid Pursehouse <david.pursehouse@gmail.com>
Tue, 23 Jul 2013 01:51:15 +0000 (10:51 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Tue, 23 Jul 2013 07:55:27 +0000 (16:55 +0900)
commit9e771aa79cc3cdf2b625b31148247c05efdf4edd
tree0b367b2e0179650f7d286c517346a99c51836ae6
parent66de6b528d268816d8c4e21a29939b75e8e5c369
Fix test cases that fail when running behind a proxy

When sending a request via `Session.send()` the proxies must be
explicitly given with the `proxies` argument.  This is not done
in the test cases, which means that they fail when run on a system
that is behind a proxy.

Update test cases to make sure the proxies are set in the sessions.
requests/adapters.py
test_requests.py