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:
5861254
)
purported py2.6 support for cookies test.
author
Ralph Bean
<rbean@redhat.com>
Fri, 25 Jan 2013 05:10:51 +0000
(
00:10
-0500)
committer
Ralph Bean
<rbean@redhat.com>
Fri, 25 Jan 2013 05:10:51 +0000
(
00:10
-0500)
test_requests.py
patch
|
blob
|
history
diff --git
a/test_requests.py
b/test_requests.py
index
01f0a36
..
10e92f6
100644
(file)
--- a/
test_requests.py
+++ b/
test_requests.py
@@
-277,7
+277,7
@@
class RequestsTestCase(unittest.TestCase):
jar.set(key, value, secure=secure, domain=domain, rest=rest)
self.assertEqual(len(jar), 1)
- self.assert
In('some_cookie',
jar)
+ self.assert
True('some_cookie' in
jar)
cookie = list(jar)[0]
self.assertEqual(cookie.secure, secure)