code: def test_master_tags(gcloud_run):
      runner.invoke(
          cli.app, ["start", "test-cluster", "--master-tags=foo"]
      )
      assert gcloud_run.call_count == 2
      assert gcloud_run.call_args_list[0][0][0][:4] == [
          "dataproc",
          "clusters",
          "create",
          "test-cluster",
      ]
      assert gcloud_run.call_args_list[1][0][0] == [
          "compute",
          "instances",
          "add-tags",
          "test-cluster-m",
          "--tags",
          "foo",
      ]
  
imports: import pytest
  from typer.testing import CliRunner
  from hailtop.hailctl.dataproc import cli
label_desc: Use image node_id 16 for calling a global function with example usage: test_master_tags(gcloud_run) without return types