Return (host, port, scheme) for the OpenShell server.
(cluster_name: str)
| 108 | |
| 109 | @pytest.fixture(scope="session") |
| 110 | def server_endpoint(cluster_name: str) -> tuple[str, int, str]: |
| 111 | """Return (host, port, scheme) for the OpenShell server.""" |
| 112 | metadata = _cluster_metadata(cluster_name) |
| 113 | parsed = urlparse(metadata["gateway_endpoint"]) |
| 114 | host = parsed.hostname or "127.0.0.1" |
| 115 | port = parsed.port or (443 if parsed.scheme == "https" else 8080) |
| 116 | return host, port, parsed.scheme |
| 117 | |
| 118 | |
| 119 | @pytest.fixture(scope="session") |
nothing calls this directly
no test coverage detected