code: def test_connect_zone_required(gcloud_run, gcloud_config):
      gcloud_config["compute/zone"] = None
  
      res = runner.invoke(
          cli.app, ["connect", "test-cluster", "notebook"]
      )
      assert res.exit_code == 1
  
      assert gcloud_run.call_count == 0
  
file_path: hail/hail/python/test/hailtop/hailctl/dataproc/test_connect.py
imports: from unittest.mock import Mock
  from typer.testing import CliRunner
  import pytest
  from hailtop.hailctl.dataproc import cli
label_desc: Use image node_id 11 for calling a global function with example usage: test_connect_zone_required(gcloud_run, gcloud_config) without return types