(hq_env: HqEnv)
| 333 | |
| 334 | |
| 335 | def test_deploy_ssh_error(hq_env: HqEnv): |
| 336 | hq_env.start_server() |
| 337 | with hq_env.mock.mock_program_with_code( |
| 338 | "ssh", |
| 339 | "exit(42)", |
| 340 | ): |
| 341 | nodefile = prepare_localhost_nodefile() |
| 342 | hq_env.command(["worker", "deploy-ssh", nodefile], expect_fail="Worker exited with code 42") |
| 343 | |
| 344 | |
| 345 | def ssh_code_dump_args_to_file(path: str) -> str: |
nothing calls this directly
no test coverage detected