code: def test_requester_pays_with_project():
      hl_stop_for_test()
      hl_init_for_test(gcs_requester_pays_configuration="hail-vdc")
      assert hl.import_table(
          "gs://hail-test-requester-pays-fds32/hello", no_header=True
      ).collect() == [hl.Struct(f0="hello")]
  
      hl_stop_for_test()
      hl_init_for_test(
          gcs_requester_pays_configuration=(
              "hail-vdc",
              ["hail-test-requester-pays-fds32"],
          )
      )
      assert hl.import_table(
          "gs://hail-test-requester-pays-fds32/hello", no_header=True
      ).collect() == [hl.Struct(f0="hello")]
  
      hl_stop_for_test()
      hl_init_for_test(
          gcs_requester_pays_configuration=(
              "hail-vdc",
              ["hail-test-requester-pays-fds32", "other-bucket"],
          )
      )
      assert hl.import_table(
          "gs://hail-test-requester-pays-fds32/hello", no_header=True
      ).collect() == [hl.Struct(f0="hello")]
  
      hl_stop_for_test()
      hl_init_for_test(
          gcs_requester_pays_configuration=(
              "hail-vdc",
              ["other-bucket"],
          )
      )
      try:
          hl.import_table("gs://hail-test-requester-pays-fds32/hello")
      except Exception as exc:
          assert (
              "Bucket is a requester pays bucket but no user project provided"
              in str(exc)
          )
      else:
          assert False
  
      hl_stop_for_test()
      hl_init_for_test(gcs_requester_pays_configuration="hail-vdc")
      assert hl.import_table(
          "gs://hail-test-requester-pays-fds32/hello", no_header=True
      ).collect() == [hl.Struct(f0="hello")]
  
file_path: hail/hail/python/test/hail/fs/test_worker_driver_fs.py
imports: import asyncio
  import os
  import pytest
  import hail
  from hailtop.utils import secret_alnum_string
  from hailtop.test_utils import skip_in_azure, run_if_azure
  from hailtop.aiocloud.aioazure import AzureAsyncFS
  from ..helpers import fails_local_backend, hl_stop_for_test, hl_init_for_test, test_timeout, resource
label_desc: Use image node_id 4 for calling a global function with example usage: test_requester_pays_with_project() without return types