code: def test_requester_pays_mode_configuration(
      gcloud_run, requester_pays_arg, expected_mode
  ):
      runner.invoke(
          cli.app, ["start", "test-cluster", requester_pays_arg]
      )
      properties = next(
          arg
          for arg in gcloud_run.call_args[0][0]
          if arg.startswith("--properties=")
      )
      assert (
          f"spark:spark.hadoop.fs.gs.requester.pays.mode={expected_mode}"
          in properties
      )
  
imports: import pytest
  from typer.testing import CliRunner
  from hailtop.hailctl.dataproc import cli
label_desc: Use image node_id 13 for calling a global function with example usage: test_requester_pays_mode_configuration(gcloud_run, requester_pays_arg, expected_mode) without return types