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

Method test_multi_header

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

Source from the content-addressed store, hash-verified

896 self.assertEqual(self.fetch_json("/optional_path/"), {u"path": None})
897
898 def test_multi_header(self):
899 response = self.fetch("/multi_header")
900 self.assertEqual(response.headers["x-overwrite"], "2")
901 self.assertEqual(response.headers.get_list("x-multi"), ["3", "4"])
902
903 def test_redirect(self):
904 response = self.fetch("/redirect?permanent=1", follow_redirects=False)

Callers

nothing calls this directly

Calls 2

get_listMethod · 0.80
fetchMethod · 0.45

Tested by

no test coverage detected