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

Method test_invalid_url_format

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

Source from the content-addressed store, hash-verified

849 assert client._is_external_server
850
851 def test_invalid_url_format(self):
852 with pytest.raises(ValueError, match="Invalid cli_url format"):
853 CopilotClient(connection=RuntimeConnection.for_uri("invalid-url"))
854
855 def test_invalid_port_too_high(self):
856 with pytest.raises(ValueError, match="Invalid port in cli_url"):

Callers

nothing calls this directly

Calls 2

CopilotClientClass · 0.90
for_uriMethod · 0.80

Tested by

no test coverage detected