code: def test_append(
      base_list: List[Tuple[str, str]],
      provider: str,
      path: str,
      anchor_provider: SearchPathQuery,
      result_list: List[Tuple[str, str]],
  ) -> None:
      csp = create_search_path(base_list)
      csp.append(provider=provider, path=path, anchor=anchor_provider)
      assert to_tuples_list(csp) == result_list
  
file_path: hydra/tests/test_config_search_path.py
imports: import os
  from os.path import realpath
  from typing import List, Optional, Tuple
  from pytest import mark
  from hydra._internal.config_search_path_impl import ConfigSearchPathImpl
  from hydra._internal.utils import compute_search_path_dir
  from hydra.core.config_search_path import SearchPathElement, SearchPathQuery
label_desc: Use image node_id 5 for calling a global function with example usage: test_append(base_list, provider, path, anchor_provider, result_list) without return types