MCPcopy Index your code
hub / github.com/python/cpython / test_localhost_domain

Method test_localhost_domain

Lib/test/test_http_cookiejar.py:987–992  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

985 self.assertEqual(len(c), 4)
986
987 def test_localhost_domain(self):
988 c = CookieJar()
989
990 interact_netscape(c, "http://localhost", "foo=bar; domain=localhost;")
991
992 self.assertEqual(len(c), 1)
993
994 def test_localhost_domain_contents(self):
995 c = CookieJar()

Callers

nothing calls this directly

Calls 3

CookieJarClass · 0.90
interact_netscapeFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected