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

Method test_parse_port_only_url

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

Source from the content-addressed store, hash-verified

825
826class TestURLParsing:
827 def test_parse_port_only_url(self):
828 client = CopilotClient(connection=RuntimeConnection.for_uri("8080"))
829 assert client._runtime_port == 8080
830 assert client._actual_host == "localhost"
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"))

Callers

nothing calls this directly

Calls 2

CopilotClientClass · 0.90
for_uriMethod · 0.80

Tested by

no test coverage detected