code: def set_test_env_var(key: str, value: str):
      test_env = get_test_environment()
      test_env[key] = value
  
file_path: ray/release/ray_release/template.py
imports: import copy
  import datetime
  import os
  from typing import Optional, Dict, TYPE_CHECKING
  import jinja2
  import yaml
  from ray_release.bazel import bazel_runfile
  from ray_release.config import get_test_cloud_id
  from ray_release.exception import ReleaseTestConfigError
label_desc: Use image node_id 2 for calling a global function with example usage: set_test_env_var(key, value) without return types