code: def test_cluster_and_script_required(gcloud_run):
      res = runner.invoke(cli.app, ["submit"])
      assert res.exit_code == 2
      assert gcloud_run.call_count == 0
  
      res = runner.invoke(cli.app, ["submit", "test-cluster"])
      assert res.exit_code == 2
      assert gcloud_run.call_count == 0
  
file_path: hail/hail/python/test/hailtop/hailctl/dataproc/test_submit.py
imports: from typer.testing import CliRunner
  from hailtop.hailctl.dataproc import cli
label_desc: Use image node_id 2 for calling a global function with example usage: test_cluster_and_script_required(gcloud_run) without return types