code: def test_fs_info_in_repo(tmp_dir, dvc, caplog):
      os.makedirs(dvc.cache.local.path)
      dvc_info = get_dvc_info()
  
      assert re.search(r"Cache directory: .* on .*", dvc_info)
      assert re.search(r"Workspace directory: .* on .*", 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 8 for calling a global function with example usage: test_fs_info_in_repo(tmp_dir, dvc, caplog) without return types