code: def test_init_global_config() -> None:
      with TemporaryDirectory() as tmp:
          config_file = os.path.join(tmp, "config")
          with open(config_file, "w") as f:
              f.write(_TEST_CONFIG)
          init_global_config(os.path.join(tmp, "config"))
          config = get_global_config()
          assert config["byod_ray_ecr"] == "rayproject"
          assert (
              config["aws2gce_credentials"]
              == "release/aws2gce_iam.json"
          )
          assert (
              os.environ["GOOGLE_APPLICATION_CREDENTIALS"]
              == "/workdir/release/aws2gce_iam.json"
          )
  
imports: import os
  import sys
  from tempfile import TemporaryDirectory
  import pytest
  from release.ray_release.configs.global_config import init_global_config, get_global_config
label_desc: Use image node_id 1 for calling a global function with example usage: test_init_global_config() without return types