Home | History | Annotate | Download | only in test

Lines Matching refs:domain_match

677         from cookielib import domain_match, user_domain_match
678 self.assertTrue(domain_match("192.168.1.1", "192.168.1.1"))
679 self.assertTrue(not domain_match("192.168.1.1", ".168.1.1"))
680 self.assertTrue(domain_match("x.y.com", "x.Y.com"))
681 self.assertTrue(domain_match("x.y.com", ".Y.com"))
682 self.assertTrue(not domain_match("x.y.com", "Y.com"))
683 self.assertTrue(domain_match("a.b.c.com", ".c.com"))
684 self.assertTrue(not domain_match(".c.com", "a.b.c.com"))
685 self.assertTrue(domain_match("example.local", ".local"))
686 self.assertTrue(not domain_match("blah.blah", ""))
687 self.assertTrue(not domain_match("", ".rhubarb.rhubarb"))
688 self.assertTrue(domain_match("", ""))