Remove a test per @kennethreitz in IRC
authorChad Whitacre <chad@zetaweb.com>
Thu, 24 Jan 2013 01:32:03 +0000 (20:32 -0500)
committerChad Whitacre <chad@zetaweb.com>
Thu, 24 Jan 2013 01:32:03 +0000 (20:32 -0500)
The test suite is moving from the httpbin pattern (which hits the
network) to depending on the request.prepare method (which doesn't).
Here's a start ...

test_requests.py

index 425e357..e3f8627 100644 (file)
@@ -76,10 +76,6 @@ class RequestsTestCase(unittest.TestCase):
         self.assertEqual(request.url,
             "http://example.com/path?key=value&a=b#fragment")
 
-    def test_HTTP_200_OK_GET(self):
-        r = requests.get(httpbin('get'))
-        self.assertEqual(r.status_code, 200)
-
     def test_HTTP_200_OK_GET_ALTERNATIVE(self):
         r = requests.Request('GET', httpbin('get'))
         s = requests.Session()