Skip to content
Myr

httpbin reports multiple values now

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent c3bba15 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:test_requests.py+1 added-1 removed
426 unmodified lines
427 self.assertEquals(r.status_code, 200)428 self.assertEquals(r.headers['content-type'], 'application/json')429 self.assertEquals(r.url, service('post?test=foo&test=baz'))430 rbody = json.loads(r.content)431 self.assertEquals(rbody.get('form'), dict(test2='foobar',test3='foo'))431 self.assertEquals(rbody.get('form'), dict(test2='foobar',test3=['foo','baz']))432 self.assertEquals(rbody.get('data'), '')433434435 def test_GET_no_redirect(self):
161 unmodified lines