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:
c3bba15
)
httpbin reports multiple values now
author
Kenneth Reitz
<me@kennethreitz.com>
Wed, 14 Dec 2011 15:33:47 +0000
(10:33 -0500)
committer
Kenneth Reitz
<me@kennethreitz.com>
Wed, 14 Dec 2011 15:33:47 +0000
(10:33 -0500)
test_requests.py
patch
|
blob
|
history
diff --git
a/test_requests.py
b/test_requests.py
index 9c5a7044b4f449baa160b30f88adf3f14ce17e1b..8a9ea711e1e1ff50277339e05c75c2b7571ef60b 100755
(executable)
--- a/
test_requests.py
+++ b/
test_requests.py
@@
-428,7
+428,7
@@
class RequestsTestSuite(unittest.TestCase):
self.assertEquals(r.headers['content-type'], 'application/json')
self.assertEquals(r.url, service('post?test=foo&test=baz'))
rbody = json.loads(r.content)
- self.assertEquals(rbody.get('form'), dict(test2='foobar',test3=
'foo'
))
+ self.assertEquals(rbody.get('form'), dict(test2='foobar',test3=
['foo','baz']
))
self.assertEquals(rbody.get('data'), '')