Lines Matching refs:cj
600 cj = cookielib.CookieJar()
603 interact_netscape(cj, uri, value)
605 self.assertIn("/", cj._cookies["example.com"])
607 self.assertEqual(interact_netscape(cj, uri), value)
758 cj = CookieJar(policy=cp)
759 interact_netscape(cj, "http://example.co.uk/", 'no=problemo')
760 interact_netscape(cj, "http://example.co.uk/",
762 self.assertEqual(len(cj), 2)
764 interact_netscape(cj, "http://example.%s/" % pseudo_tld,
766 self.assertEqual(len(cj), 2)
1632 def save_and_restore(cj, ignore_discard): argument
1634 cj.save(ignore_discard=ignore_discard)