Skip to content

Commit

Permalink
this didn't merge properly
Browse files Browse the repository at this point in the history
  • Loading branch information
bobcarroll committed May 26, 2013
1 parent f3036ad commit d595104
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,9 @@ def test_uppercase_scheme(self):
r = requests.get('HTTP://example.com/')
self.assertEqual(r.status_code, 200)

def test_uppercase_scheme_redirect(self):
r = requests.get(httpbin('redirect-to'), params={'url': 'HTTP://example.com/'})
self.assertEqual(r.status_code, 200)
def test_transport_adapter_ordering(self):
s = requests.Session()
order = ['https://', 'http://']
Expand Down Expand Up @@ -705,10 +708,5 @@ def test_preserve_last_key_case(self):
self.assertEqual(frozenset(cid), keyset)



def test_uppercase_scheme_redirect(self):
r = requests.get(httpbin('redirect-to'), params={'url': 'HTTP://example.com/'})
self.assertEqual(r.status_code, 200)

if __name__ == '__main__':
unittest.main()

0 comments on commit d595104

Please sign in to comment.