MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / test_server_client_port

Function test_server_client_port

tests/test_server.py:38–41  ·  view source on GitHub ↗
(hq_env: HqEnv)

Source from the content-addressed store, hash-verified

36
37
38def test_server_client_port(hq_env: HqEnv):
39 port = str(find_free_port())
40 table = start_server_get_output(hq_env, ["--client-port", port])
41 table.check_row_value("Client port", port)
42
43
44def test_server_worker_port(hq_env: HqEnv):

Callers

nothing calls this directly

Calls 3

start_server_get_outputFunction · 0.85
check_row_valueMethod · 0.80
find_free_portFunction · 0.50

Tested by

no test coverage detected