Fixed test for issue #747 to check for '' instead of 'text/plain'

This commit is contained in:
Marcus McCurdy
2012-08-03 23:05:37 -04:00
parent 12328d6e58
commit 2110f7d18c
+1 -1
View File
@@ -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__':