projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12328d6
)
Fixed test for issue #747 to check for '' instead of 'text/plain'
author
Marcus McCurdy
<marcus.mccurdy@gmail.com>
Sat, 4 Aug 2012 03:05:37 +0000
(23:05 -0400)
committer
Marcus McCurdy
<marcus.mccurdy@gmail.com>
Sat, 4 Aug 2012 03:05:37 +0000
(23:05 -0400)
tests/test_requests.py
patch
|
blob
|
history
diff --git
a/tests/test_requests.py
b/tests/test_requests.py
index 10da6f7e1842413e6e9e1fdfd15376de48a41141..928b23ef8fd36665525257bdbca42bee6c38a931 100755
(executable)
--- a/
tests/test_requests.py
+++ b/
tests/test_requests.py
@@
-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__':