@@ -58,9 +58,9 @@ def health_server() -> Iterator[int]:
5858 ("runner_server_url" , "docker_host" , "expected_host" ),
5959 [
6060 ("https://github.com" , None , "localhost" ),
61- ("https://forgejo .example.test" , "127.0.0.1" , "127.0.0.1" ),
61+ ("https://ci .example.test" , "127.0.0.1" , "127.0.0.1" ),
6262 ],
63- ids = ["github-localhost" , "containerized-forgejo -docker-host" ],
63+ ids = ["github-localhost" , "containerized-alternate-runner -docker-host" ],
6464)
6565def test_endpoint_selection_probes_the_runner_reachable_server (
6666 tmp_path : Path ,
@@ -103,7 +103,7 @@ def test_endpoint_selection_probes_the_runner_reachable_server(
103103 assert expected_endpoint in result .stdout
104104
105105
106- def test_containerized_forgejo_discovers_the_linux_docker_host_gateway (
106+ def test_containerized_alternate_runner_discovers_the_linux_docker_host_gateway (
107107 tmp_path : Path ,
108108 monkeypatch : pytest .MonkeyPatch ,
109109) -> None :
@@ -119,7 +119,7 @@ def test_containerized_forgejo_discovers_the_linux_docker_host_gateway(
119119
120120 monkeypatch .setattr (endpoint_module , "_host_docker_internal" , lambda : None )
121121 monkeypatch .setattr (endpoint_module , "_default_route_gateway" , lambda : gateway )
122- candidates = endpoint_module .endpoint_candidates ({"GITHUB_SERVER_URL" : "https://forgejo .example.test" })
122+ candidates = endpoint_module .endpoint_candidates ({"GITHUB_SERVER_URL" : "https://ci .example.test" })
123123
124124 assert candidates == ["http://172.18.0.1:8080" , "http://localhost:8080" ]
125125
0 commit comments