MCPcopy Create free account
hub / github.com/EasyIME/PIME / test_set_cookie_domain

Method test_set_cookie_domain

python/python3/tornado/test/web_test.py:349–354  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

347 self.assertEqual(response.body, b"default")
348
349 def test_set_cookie_domain(self):
350 response = self.fetch("/set_domain")
351 self.assertEqual(
352 response.headers.get_list("Set-Cookie"),
353 ["unicode_args=blah; Domain=foo.com; Path=/foo"],
354 )
355
356 def test_cookie_special_char(self):
357 response = self.fetch("/special_char")

Callers

nothing calls this directly

Calls 2

get_listMethod · 0.80
fetchMethod · 0.45

Tested by

no test coverage detected