MCPcopy Index your code
hub / github.com/github/copilot-sdk / test_parse_http_url

Method test_parse_http_url

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

Source from the content-addressed store, hash-verified

837 assert client._is_external_server
838
839 def test_parse_http_url(self):
840 client = CopilotClient(connection=RuntimeConnection.for_uri("http://localhost:7000"))
841 assert client._runtime_port == 7000
842 assert client._actual_host == "localhost"
843 assert client._is_external_server
844
845 def test_parse_https_url(self):
846 client = CopilotClient(connection=RuntimeConnection.for_uri("https://example.com:443"))

Callers

nothing calls this directly

Calls 2

CopilotClientClass · 0.90
for_uriMethod · 0.80

Tested by

no test coverage detected