(self)
| 913 | self.assertFalse(user_domain_match("192.168.1.1", "")) |
| 914 | |
| 915 | def test_wrong_domain(self): |
| 916 | # Cookies whose effective request-host name does not domain-match the |
| 917 | # domain are rejected. |
| 918 | |
| 919 | # XXX far from complete |
| 920 | c = CookieJar() |
| 921 | interact_2965(c, "http://www.nasty.com/", |
| 922 | 'foo=bar; domain=friendly.org; Version="1"') |
| 923 | self.assertEqual(len(c), 0) |
| 924 | |
| 925 | def test_strict_domain(self): |
| 926 | # Cookies whose domain is a country-code tld like .co.uk should |
nothing calls this directly
no test coverage detected