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

Method test_set_cookie_overwrite

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

Source from the content-addressed store, hash-verified

453 self.assertMultiLineEqual(to_unicode(response.body), "")
454
455 def test_set_cookie_overwrite(self):
456 response = self.fetch("/set_overwrite")
457 headers = response.headers.get_list("Set-Cookie")
458 self.assertEqual(
459 sorted(headers), ["a=e; Path=/", "c=d; Domain=example.com; Path=/"]
460 )
461
462 def test_set_cookie_max_age(self):
463 response = self.fetch("/set_max_age")

Callers

nothing calls this directly

Calls 2

get_listMethod · 0.80
fetchMethod · 0.45

Tested by

no test coverage detected