(hq_env: HqEnv)
| 365 | |
| 366 | |
| 367 | def 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 | """ |
| 372 | import time |
| 373 | time.sleep(1) |
| 374 | """, |
| 375 | ): |
| 376 | nodefile = prepare_localhost_nodefile() |
| 377 | hq_env.command(["worker", "deploy-ssh", nodefile]) |
| 378 | |
| 379 | |
| 380 | def test_deploy_ssh_multiple_workers(hq_env: HqEnv): |
nothing calls this directly
no test coverage detected