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

Method test_invalid_port_zero

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

Source from the content-addressed store, hash-verified

857 CopilotClient(connection=RuntimeConnection.for_uri("localhost:99999"))
858
859 def test_invalid_port_zero(self):
860 with pytest.raises(ValueError, match="Invalid port in cli_url"):
861 CopilotClient(connection=RuntimeConnection.for_uri("localhost:0"))
862
863 def test_invalid_port_negative(self):
864 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