code: def test_acl_api_function(shutdown_only):
      with patch.dict(sys.modules):
          sys.modules["acl"] = __import__("mock_acl")
  
          ray.init()
          manager = ray._private.accelerators.get_accelerator_manager_for_resource(
              "NPU"
          )
          assert manager.get_current_node_num_accelerators() == 4
          assert manager.__name__ == "NPUAcceleratorManager"
          assert (
              manager.get_current_node_accelerator_type()
              == "Ascend910B"
          )
  
file_path: ray/python/ray/tests/accelerators/test_npu.py
imports: import os
  import sys
  import pytest
  from unittest.mock import patch
  import ray
  from ray._private.accelerators import NPUAcceleratorManager
label_desc: Use image node_id 6 for calling a global function with example usage: test_acl_api_function(shutdown_only) without return types