Skip to content
Myr

And tests

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

authored by Ian Cordasco · committed by Ian Cordasco · parent 9cdc832 · Browse files · 1 file+5 added−0 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+5 added−0 removed

  • other:+5 added−0 removed

1 file+5 added−0 removed

modified:test_requests.py+5 added
109 unmodified lines
110111 r = requests.get(httpbin('get') + '?test=true', params={'q': 'test'}, headers=heads)112 self.assertEqual(r.status_code, 200)113114 def test_set_cookie_on_301(self):115 url = httpbin('cookies/set/foo/bar')116 r = s.get(url)117 self.assertTrue(s.cookies['foo'] == 'bar')118119 def test_user_agent_transfers(self):120121 heads = {122 'User-agent': 'Mozilla/5.0 (github.com/kennethreitz/requests)'
232 unmodified lines