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

Function test_deploy_ssh_wait_for_worker

tests/test_worker.py:367–377  ·  view source on GitHub ↗
(hq_env: HqEnv)

Source from the content-addressed store, hash-verified

365
366
367def test_deploy_ssh_wait_for_worker(hq_env: HqEnv):
368 hq_env.start_server()
369 with hq_env.mock.mock_program_with_code(
370 "ssh",
371 """
372import time
373time.sleep(1)
374""",
375 ):
376 nodefile = prepare_localhost_nodefile()
377 hq_env.command(["worker", "deploy-ssh", nodefile])
378
379
380def test_deploy_ssh_multiple_workers(hq_env: HqEnv):

Callers

nothing calls this directly

Calls 4

commandMethod · 0.80
start_serverMethod · 0.45

Tested by

no test coverage detected