(self)
| 837 | assert client._is_external_server |
| 838 | |
| 839 | def test_parse_http_url(self): |
| 840 | client = CopilotClient(connection=RuntimeConnection.for_uri("http://localhost:7000")) |
| 841 | assert client._runtime_port == 7000 |
| 842 | assert client._actual_host == "localhost" |
| 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")) |
nothing calls this directly
no test coverage detected