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

Method test_invalid_port_negative

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

Source from the content-addressed store, hash-verified

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"):
865 CopilotClient(connection=RuntimeConnection.for_uri("localhost:-1"))
866
867 def test_is_external_server_true(self):
868 client = CopilotClient(connection=RuntimeConnection.for_uri("localhost:8080"))

Callers

nothing calls this directly

Calls 2

CopilotClientClass · 0.90
for_uriMethod · 0.80

Tested by

no test coverage detected