(hq_env: HqEnv)
| 395 | |
| 396 | |
| 397 | def test_deploy_ssh_show_output(hq_env: HqEnv): |
| 398 | hq_env.start_server() |
| 399 | with hq_env.mock.mock_program_with_code( |
| 400 | "ssh", |
| 401 | """ |
| 402 | print("FOOBAR") |
| 403 | """, |
| 404 | ): |
| 405 | nodefile = prepare_localhost_nodefile(count=3) |
| 406 | output = hq_env.command(["worker", "deploy-ssh", "--show-output", nodefile]) |
| 407 | assert "FOOBAR" in output |
| 408 | |
| 409 | |
| 410 | def test_deploy_ssh_custom_port(hq_env: HqEnv): |
nothing calls this directly
no test coverage detected