code: def test_example(tmpdir: Path) -> None:
      run_python_script(
          [
              "example/my_app.py",
              "-m",
              f"hydra.sweep.dir={tmpdir}",
              "hydra/launcher=submitit_local",
          ]
      )
  
file_path: hydra/plugins/hydra_submitit_launcher/tests/test_submitit_launcher.py
imports: from pathlib import Path
  from typing import Type
  from hydra.core.plugins import Plugins
  from hydra.plugins.launcher import Launcher
  from hydra.test_utils.launcher_common_tests import IntegrationTestSuite, LauncherTestSuite
  from hydra.test_utils.test_utils import chdir_plugin_root, run_python_script
  from pytest import mark
  from hydra_plugins.hydra_submitit_launcher import submitit_launcher
label_desc: Use image node_id 2 for calling a global function with example usage: test_example(tmpdir) without return types