code: def test_get_conversation_ids():
      # test the get_conversation_ids method - normal case
      conv_ids = ConversationChainHandler.get_conversation_ids(
          {"id2": "id1", "id3": "id2", "id4": "id3"}, "id4"
      )
      assert conv_ids == ["id1", "id2", "id3", "id4"]
  
      # test the get_conversation_ids method - circular case, should raise ValueError
      with pytest.raises(ValueError):
          ConversationChainHandler.get_conversation_ids(
              {"id1": "id4", "id2": "id1", "id3": "id2", "id4": "id3"},
              "id4",
          )
  
file_path: h2o-llmstudio/tests/src/datasets/test_conversation_chain_handler.py
imports: import time
  from unittest import mock
  from unittest.mock import MagicMock
  import pandas
  import pytest
  from llm_studio.app_utils.default_datasets import prepare_default_dataset_causal_language_modeling
  from llm_studio.src.datasets.conversation_chain_handler import ConversationChainHandler
label_desc: Use image node_id 7 for calling a global function with example usage: test_get_conversation_ids() without return types