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:
b286733
)
Change the None check from self.assertIsNone to python style None Check, as build...
author
Arup Malakar
<amalakar@gmail.com>
Wed, 23 May 2012 21:25:54 +0000
(14:25 -0700)
committer
Arup Malakar
<amalakar@gmail.com>
Wed, 23 May 2012 21:25:54 +0000
(14:25 -0700)
tests/test_cookies.py
patch
|
blob
|
history
diff --git
a/tests/test_cookies.py
b/tests/test_cookies.py
index 60acdd8c0e0930905d34566018e38ff57dda5d05..c6f71b42006fbe202947d50b6dbc64ad95783d6e 100755
(executable)
--- a/
tests/test_cookies.py
+++ b/
tests/test_cookies.py
@@
-110,7
+110,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'), config = config).cookies
- self.assert
IsNone(cookies.get("key")
)
+ self.assert
True(cookies.get("key") is 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