code: def test_get_current_node_accelerator_type():
      old_dpctl = None
      if "dpctl" in sys.modules:
          old_dpctl = sys.modules["dpctl"]
  
      sys.modules["dpctl"] = __import__("mock_dpctl_1")
      assert (
          Accelerator.get_current_node_accelerator_type()
          == INTEL_MAX_1550
      )
  
      sys.modules["dpctl"] = __import__("mock_dpctl_2")
      assert (
          Accelerator.get_current_node_accelerator_type()
          == INTEL_MAX_1100
      )
  
      if old_dpctl is not None:
          sys.modules["dpctl"] = old_dpctl
  
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 4 for calling a global function with example usage: test_get_current_node_accelerator_type() without return types