projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
489a412
)
added assertion to test_uppercase_scheme_redirect for the response code
author
Bob Carroll
<bob.carroll@alum.rit.edu>
Wed, 1 May 2013 17:44:31 +0000
(10:44 -0700)
committer
Bob Carroll
<bob.carroll@alum.rit.edu>
Sun, 26 May 2013 21:44:37 +0000
(14:44 -0700)
test_requests.py
patch
|
blob
|
history
diff --git
a/test_requests.py
b/test_requests.py
index 5517edacabb2c4f9a60456446d9695cd6567a365..017058f51e5c3a3b19074c3924afc09e18a3db0c 100755
(executable)
--- a/
test_requests.py
+++ b/
test_requests.py
@@
-708,7
+708,7
@@
class TestCaseInsensitiveDict(unittest.TestCase):
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()