code: def test_pdsh_runner(runner_info):
      env, resource_pool, world_info, args = runner_info
      runner = mnrunner.PDSHRunner(args, world_info)
      cmd, kill_cmd, env = runner.get_cmd(env, resource_pool)
      assert cmd[0] == "pdsh"
      assert env["PDSH_RCMD_TYPE"] == "ssh"
  
file_path: deepspeed/tests/unit/launcher/test_multinode_runner.py
imports: from copy import deepcopy
  from deepspeed.launcher import multinode_runner
  from deepspeed.launcher.runner import encode_world_info, parse_args
  import os
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_pdsh_runner(runner_info) without return types