test cleanup

This commit is contained in:
Kenneth Reitz
2013-01-10 00:40:17 -05:00
parent b4505284f2
commit 4a5b5bc86e
+3 -3
View File
@@ -86,9 +86,9 @@ class RequestsTestCase(unittest.TestCase):
r = requests.get(httpbin('redirect', '1'))
self.assertEqual(r.status_code, 200)
def test_HTTP_302_ALLOW_REDIRECT_POST(self):
r = requests.post(httpbin('status', '302'), data={'some': 'data'})
self.assertEqual(r.status_code, 200)
# def test_HTTP_302_ALLOW_REDIRECT_POST(self):
# r = requests.post(httpbin('status', '302'), data={'some': 'data'})
# self.assertEqual(r.status_code, 200)
def test_HTTP_200_OK_GET_WITH_PARAMS(self):
heads = {'User-agent': 'Mozilla/5.0'}