code: def test_required_gcloud_version_met(gcloud_run, monkeypatch):
      monkeypatch.setattr(
          "hailtop.hailctl.dataproc.gcloud.get_version",
          Mock(return_value=cli.MINIMUM_REQUIRED_GCLOUD_VERSION),
      )
  
      runner.invoke(cli.app, ["list"])
      assert gcloud_run.call_count == 1
  
imports: from unittest.mock import Mock
  from typer.testing import CliRunner
  from hailtop.hailctl.dataproc import cli
label_desc: Use image node_id 1 for calling a global function with example usage: test_required_gcloud_version_met(gcloud_run, monkeypatch) without return types