Lines Matching refs:cookies
6 from http import cookies
54 C = cookies.SimpleCookie()
62 C = cookies.SimpleCookie()
89 C = cookies.SimpleCookie()
96 C = cookies.SimpleCookie('Customer="WILE_E_COYOTE"')
102 C = cookies.SimpleCookie()
106 C = cookies.SimpleCookie()
112 C = cookies.SimpleCookie('Customer="WILE_E_COYOTE"')
118 C = cookies.SimpleCookie('Customer="WILE_E_COYOTE"')
128 C = cookies.SimpleCookie('Customer="WILE_E_COYOTE"')
133 C = cookies.SimpleCookie()
138 C = cookies.SimpleCookie()
145 C = cookies.SimpleCookie()
153 C = cookies.SimpleCookie()
163 C = cookies.SimpleCookie()
170 C = cookies.SimpleCookie()
195 C = cookies.SimpleCookie()
208 C = cookies.SimpleCookie()
219 C = cookies.SimpleCookie()
220 with self.assertRaises(cookies.CookieError):
224 c = cookies.SimpleCookie()
238 morsel = cookies.Morsel()
242 self.assertEqual(morsel.keys(), cookies.Morsel._reserved.keys())
247 M = cookies.Morsel()
258 self.assertRaises(cookies.CookieError,
262 M = cookies.Morsel()
266 self.assertRaises(cookies.CookieError,
289 self.assertRaises(cookies.CookieError,
293 morsel = cookies.Morsel()
309 morsel_a = cookies.Morsel()
312 morsel_b = cookies.Morsel()
324 morsel_b = cookies.Morsel()
330 morsel_b = cookies.Morsel()
338 self.assertFalse(cookies.Morsel() == 1)
339 self.assertTrue(cookies.Morsel() != 1)
340 self.assertFalse(cookies.Morsel() == '')
341 self.assertTrue(cookies.Morsel() != '')
342 items = list(cookies.Morsel().items())
343 self.assertFalse(cookies.Morsel() == items)
344 self.assertTrue(cookies.Morsel() != items)
347 morsel = cookies.Morsel()
354 morsel_a = cookies.Morsel()
361 self.assertIsInstance(morsel_b, cookies.Morsel)
366 self.assertIsInstance(morsel_b, cookies.Morsel)
371 morsel = cookies.Morsel()
379 with self.assertRaises(cookies.CookieError):
384 morsel = cookies.Morsel()
397 with self.assertRaises(cookies.CookieError):
404 morsel = cookies.Morsel()
410 morsel = cookies.Morsel()
416 morsel = cookies.Morsel()
422 with self.assertRaises(cookies.CookieError):
429 morsel_a = cookies.Morsel()
438 self.assertIsInstance(morsel_b, cookies.Morsel)
443 morsel = cookies.Morsel()
472 morsel = cookies.Morsel()
484 run_doctest(cookies)