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

Method test_fetch_segment

tornado/test/testing_test.py:102–105  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

100 return Application()
101
102 def test_fetch_segment(self):
103 path = "/path"
104 response = self.fetch(path)
105 self.assertEqual(response.request.url, self.get_url(path))
106
107 def test_fetch_full_http_url(self):
108 # Ensure that self.fetch() recognizes absolute urls and does

Callers

nothing calls this directly

Calls 2

fetchMethod · 0.45
get_urlMethod · 0.45

Tested by

no test coverage detected