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

Method test_parse_https_url

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

Source from the content-addressed store, hash-verified

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"))
847 assert client._runtime_port == 443
848 assert client._actual_host == "example.com"
849 assert client._is_external_server
850
851 def test_invalid_url_format(self):
852 with pytest.raises(ValueError, match="Invalid cli_url format"):

Callers

nothing calls this directly

Calls 2

CopilotClientClass · 0.90
for_uriMethod · 0.80

Tested by

no test coverage detected