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

Method get_url

python/python3/tornado/testing.py:527–529  ·  view source on GitHub ↗

Returns an absolute url for the given path on the test server.

(self, path: str)

Source from the content-addressed store, hash-verified

525 return "http"
526
527 def get_url(self, path: str) -> str:
528 """Returns an absolute url for the given path on the test server."""
529 return "%s://127.0.0.1:%s%s" % (self.get_protocol(), self.get_http_port(), path)
530
531 def tearDown(self) -> None:
532 self.http_server.stop()

Callers 1

fetchMethod · 0.95

Calls 2

get_protocolMethod · 0.95
get_http_portMethod · 0.95

Tested by

no test coverage detected