code: def test_connect_default_zone(gcloud_run, gcloud_config):
      gcloud_config["compute/zone"] = "us-west1-a"
  
      runner.invoke(cli.app, ["connect", "test-cluster", "notebook"])
  
      assert "--zone=us-west1-a" in gcloud_run.call_args[0][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 10 for calling a global function with example usage: test_connect_default_zone(gcloud_run, gcloud_config) without return types