Fixed test for issue #747 to check for '' instead of 'text/plain'
authorMarcus McCurdy <marcus.mccurdy@gmail.com>
Sat, 4 Aug 2012 03:05:37 +0000 (23:05 -0400)
committerMarcus McCurdy <marcus.mccurdy@gmail.com>
Sat, 4 Aug 2012 03:05:37 +0000 (23:05 -0400)
tests/test_requests.py

index 10da6f7e1842413e6e9e1fdfd15376de48a41141..928b23ef8fd36665525257bdbca42bee6c38a931 100755 (executable)
@@ -977,7 +977,7 @@ class RequestsTestSuite(TestSetup, TestBaseMixin, unittest.TestCase):
         data = "test string data"
         r = post(httpbin('post'), data=data)
         t = json.loads(r.text)
-        self.assertEqual(t.get('headers').get('Content-Type'), 'text/plain')
+        self.assertEqual(t.get('headers').get('Content-Type'), '')
 
 
 if __name__ == '__main__':