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

Function test_print_worker_list

tests/output/test_json.py:26–33  ·  view source on GitHub ↗
(hq_env: HqEnv)

Source from the content-addressed store, hash-verified

24
25
26def test_print_worker_list(hq_env: HqEnv):
27 hq_env.start_server()
28
29 for i in range(5):
30 hq_env.start_worker()
31
32 output = parse_json_output(hq_env, ["--output-mode=json", "worker", "list"])
33 assert len(output) == 5
34
35
36def test_print_worker_info(hq_env: HqEnv):

Callers

nothing calls this directly

Calls 3

parse_json_outputFunction · 0.85
start_serverMethod · 0.45
start_workerMethod · 0.45

Tested by

no test coverage detected