code: def test_requester_pays_project_configuration(
      gcloud_run, gcloud_config, requester_pays_arg
  ):
      gcloud_config["project"] = "foo-project"
  
      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 (
          "spark:spark.hadoop.fs.gs.requester.pays.project.id=foo-project"
          in properties
      )
  
      runner.invoke(
          cli.app,
          [
              "start",
              "--project=bar-project",
              "test-cluster",
              requester_pays_arg,
          ],
      )
      properties = next(
          arg
          for arg in gcloud_run.call_args[0][0]
          if arg.startswith("--properties=")
      )
      assert (
          "spark:spark.hadoop.fs.gs.requester.pays.project.id=bar-project"
          in properties
      )
  
imports: import pytest
  from typer.testing import CliRunner
  from hailtop.hailctl.dataproc import cli
label_desc: Use image node_id 12 for calling a global function with example usage: test_requester_pays_project_configuration(gcloud_run, gcloud_config, requester_pays_arg) without return types