Change the None check from self.assertIsNone to python style None Check, as build was failing

This commit is contained in:
Arup Malakar
2012-05-23 14:25:54 -07:00
parent b28673368b
commit 4a30979622
+1 -1
View File
@@ -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.assertIsNone(cookies.get("key"))
self.assertTrue(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