MCPcopy
hub / github.com/tornadoweb/tornado / test_set_cookie_domain

Method test_set_cookie_domain

tornado/test/web_test.py:416–421  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

414 self.assertEqual(response.body, b"default")
415
416 def test_set_cookie_domain(self):
417 response = self.fetch("/set_domain")
418 self.assertEqual(
419 response.headers.get_list("Set-Cookie"),
420 ["unicode_args=blah; Domain=foo.com; Path=/foo"],
421 )
422
423 def test_cookie_special_char(self):
424 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