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

Method get_http_port

python/python3/tornado/testing.py:517–522  ·  view source on GitHub ↗

Returns the port used by the server. A new port is chosen for each test.

(self)

Source from the content-addressed store, hash-verified

515 return {}
516
517 def get_http_port(self) -> int:
518 """Returns the port used by the server.
519
520 A new port is chosen for each test.
521 """
522 return self.__port
523
524 def get_protocol(self) -> str:
525 return "http"

Callers 15

get_urlMethod · 0.95
test_read_until_closeMethod · 0.80
test_read_zero_bytesMethod · 0.80
test_future_interfaceMethod · 0.80
raw_fetchMethod · 0.80
test_100_continueMethod · 0.80
setUpMethod · 0.80
connectMethod · 0.80
connectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected