code: def test_get_current_process_visible_accelerator_ids():
      os.environ[hpu.HABANA_VISIBLE_DEVICES_ENV_VAR] = "0,1,2"
      assert HPUAcceleratorManager.get_current_process_visible_accelerator_ids() == [
          "0",
          "1",
          "2",
      ]  # noqa: E501
  
      del os.environ[hpu.HABANA_VISIBLE_DEVICES_ENV_VAR]
      assert (
          HPUAcceleratorManager.get_current_process_visible_accelerator_ids()
          is None
      )
  
      os.environ[hpu.HABANA_VISIBLE_DEVICES_ENV_VAR] = ""
      assert (
          HPUAcceleratorManager.get_current_process_visible_accelerator_ids()
          == []
      )
  
      del os.environ[hpu.HABANA_VISIBLE_DEVICES_ENV_VAR]
  
file_path: ray/python/ray/tests/accelerators/test_hpu.py
imports: import os
  import sys
  import pytest
  from unittest.mock import patch
  import ray
  from ray._private.accelerators import HPUAcceleratorManager
  from ray._private.accelerators import hpu
label_desc: Use image node_id 4 for calling a global function with example usage: test_get_current_process_visible_accelerator_ids() without return types