MCPcopy Create free account
hub / github.com/github/copilot-sdk / test_parse_host_port_url

Method test_parse_host_port_url

python/test_client.py:833–837  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

831 assert client._is_external_server
832
833 def test_parse_host_port_url(self):
834 client = CopilotClient(connection=RuntimeConnection.for_uri("127.0.0.1:9000"))
835 assert client._runtime_port == 9000
836 assert client._actual_host == "127.0.0.1"
837 assert client._is_external_server
838
839 def test_parse_http_url(self):
840 client = CopilotClient(connection=RuntimeConnection.for_uri("http://localhost:7000"))

Callers

nothing calls this directly

Calls 2

CopilotClientClass · 0.90
for_uriMethod · 0.80

Tested by

no test coverage detected