code: def test_caches(tmp_dir, dvc, caplog):
      dvc_info = get_dvc_info()
  
      # Order of cache types is runtime dependent
      assert re.search("Caches: local", dvc_info)
  
file_path: dvc/tests/unit/test_info.py
imports: import os
  import re
  import shutil
  import pytest
  from dvc.info import SUBPROJECTS, get_dvc_info
label_desc: Use image node_id 5 for calling a global function with example usage: test_caches(tmp_dir, dvc, caplog) without return types