code: def test_stop(gcloud_run):
      runner.invoke(
          cli.app, ["modify", "test-cluster", "--num-workers=2"]
      )
      assert gcloud_run.call_args[0][0][:3] == [
          "dataproc",
          "clusters",
          "update",
      ]
  
imports: import pytest
  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_stop(gcloud_run) without return types