code: def test_visible_intel_gpu_type(shutdown_only):
      with patch.object(
          Accelerator,
          "get_current_node_num_accelerators",
          return_value=4,
      ), patch.object(
          Accelerator,
          "get_current_node_accelerator_type",
          return_value=INTEL_MAX_1550,
      ):
          os.environ["ONEAPI_DEVICE_SELECTOR"] = "level_zero:0,1,2"
          del (
              get_accelerator_manager_for_resource._resource_name_to_accelerator_manager
          )
          ray.init()
          manager = get_accelerator_manager_for_resource("GPU")
          assert (
              manager.get_current_node_accelerator_type()
              == INTEL_MAX_1550
          )
  
file_path: ray/python/ray/tests/accelerators/test_intel_gpu.py
imports: import os
  import sys
  import pytest
  from unittest.mock import patch
  import ray
  from ray._private.accelerators import IntelGPUAcceleratorManager
  from ray._private.accelerators import get_accelerator_manager_for_resource
  from ray.util.accelerators import INTEL_MAX_1550, INTEL_MAX_1100
label_desc: Use image node_id 2 for calling a global function with example usage: test_visible_intel_gpu_type(shutdown_only) without return types