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:
4cf31b0
)
fix test for 2.6's unittest
author
Kenneth Reitz
<me@kennethreitz.com>
Thu, 17 May 2012 00:13:55 +0000
(17:13 -0700)
committer
Kenneth Reitz
<me@kennethreitz.com>
Thu, 17 May 2012 00:13:55 +0000
(17:13 -0700)
tests/test_cookies.py
patch
|
blob
|
history
diff --git
a/tests/test_cookies.py
b/tests/test_cookies.py
index
a9fda18
..
9cb97ea
100755
(executable)
--- a/
tests/test_cookies.py
+++ b/
tests/test_cookies.py
@@
-107,7
+107,7
@@
class CookieTests(TestBaseMixin, unittest.TestCase):
# Check the case when no cookie is passed as part of the request and the one in response is ignored
cookies = requests.get(httpbin('cookies', 'set', 'key', 'value'), store_cookies = False).cookies
- self.assert
IsNone(cookies.get("key")
)
+ self.assert
Equal(cookies.get("key"), None
)
# Test that the cookies passed while making the request still gets used and is available in response object.
# only the ones received from server is not saved