code: def test_required_gcloud_version_unmet(gcloud_run, monkeypatch):
      monkeypatch.setattr(
          "hailtop.hailctl.dataproc.gcloud.get_version",
          Mock(return_value=(200, 0, 0)),
      )
  
      res = runner.invoke(cli.app, ["list"])
      assert res.exit_code == 1
      assert res.exception
      assert (
          "hailctl dataproc requires Google Cloud SDK (gcloud) version"
          in res.exception.args[0]
      )
  
      assert gcloud_run.call_count == 0
  
imports: from unittest.mock import Mock
  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_required_gcloud_version_unmet(gcloud_run, monkeypatch) without return types