I don't even want to know.
authorKenneth Reitz <me@kennethreitz.com>
Sat, 22 Oct 2011 23:39:23 +0000 (19:39 -0400)
committerKenneth Reitz <me@kennethreitz.com>
Sat, 22 Oct 2011 23:39:23 +0000 (19:39 -0400)
test_requests.py

index 37d2a7d..6360e7e 100755 (executable)
@@ -68,12 +68,12 @@ class RequestsTestSuite(unittest.TestCase):
         self.assertEqual(r.status_code, 200)
 
     def test_HTTP_302_ALLOW_REDIRECT_GET(self):
-       r = requests.get(httpbin('redirect', '1'))
-       self.assertEqual(r.status_code, 200)
+        r = requests.get(httpbin('redirect', '1'))
+        self.assertEqual(r.status_code, 200)
 
     def test_HTTP_302_GET(self):
-       r = requests.get(httpbin('redirect', '1'), allow_redirects=False)
-       self.assertEqual(r.status_code, 302)
+        r = requests.get(httpbin('redirect', '1'), allow_redirects=False)
+        self.assertEqual(r.status_code, 302)
 
 
     def test_HTTP_200_OK_GET_WITH_PARAMS(self):