Skip to content
Myr

purported py2.6 support for cookies test.

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

authored by Ralph Bean · committed by Ralph Bean · parent 5861254 · 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
275 unmodified lines
276 jar = requests.cookies.RequestsCookieJar()277 jar.set(key, value, secure=secure, domain=domain, rest=rest)278279 self.assertEqual(len(jar), 1)280 self.assertIn('some_cookie', jar)280 self.assertTrue('some_cookie' in jar)281282 cookie = list(jar)[0]283 self.assertEqual(cookie.secure, secure)284 self.assertEqual(cookie.domain, domain)
4 unmodified lines