docstr: Set up fake cache scan report.
docstr_tok: ["Set","up","fake","cache","scan","report","."]
code: def setUp(self) -> None:
      """Set up fake cache scan report."""
      repo_A_path = Path("repo_A")
      blobs_path = repo_A_path / "blobs"
      snapshots_path = repo_A_path / "snapshots_path"
  
      # Define blob files
      main_only_file = Mock()
      main_only_file.blob_path = blobs_path / "main_only_hash"
      main_only_file.size_on_disk = 1
  
      detached_only_file = Mock()
      detached_only_file.blob_path = blobs_path / "detached_only_hash"
      detached_only_file.size_on_disk = 10
  
      pr_1_only_file = Mock()
      pr_1_only_file.blob_path = blobs_path / "pr_1_only_hash"
      pr_1_only_file.size_on_disk = 100
  
      detached_and_pr_1_only_file = Mock()
      detached_and_pr_1_only_file.blob_path = (
          blobs_path / "detached_and_pr_1_only_hash"
      )
      detached_and_pr_1_only_file.size_on_disk = 1000
  
      shared_file = Mock()
      shared_file.blob_path = blobs_path / "shared_file_hash"
      shared_file.size_on_disk = 10000
  
      # Define revisions
      repo_A_rev_main = Mock()
      repo_A_rev_main.commit_hash = "repo_A_rev_main"
      repo_A_rev_main.snapshot_path = snapshots_path / "repo_A_rev_main"
      repo_A_rev_main.files = {main_only_file, shared_file}
      repo_A_rev_main.refs = {"main"}
  
      repo_A_rev_detached = Mock()
      repo_A_rev_detached.commit_hash = "repo_A_rev_detached"
      repo_A_rev_detached.snapshot_path = (
          snapshots_path / "repo_A_rev_detached"
      )
      repo_A_rev_detached.files = {
          detached_only_file,
          detached_and_pr_1_only_file,
          shared_file,
      }
      repo_A_rev_detached.refs = {}
  
      repo_A_rev_pr_1 = Mock()
      repo_A_rev_pr_1.commit_hash = "repo_A_rev_pr_1"
      repo_A_rev_pr_1.snapshot_path = snapshots_path / "repo_A_rev_pr_1"
      repo_A_rev_pr_1.files = {
          pr_1_only_file,
          detached_and_pr_1_only_file,
          shared_file,
      }
      repo_A_rev_pr_1.refs = {"refs/pr/1"}
  
      # Define repo
      repo_A = Mock()
      repo_A.repo_path = Path("repo_A")
      repo_A.size_on_disk = 4444
      repo_A.revisions = {
          repo_A_rev_main,
          repo_A_rev_detached,
          repo_A_rev_pr_1,
      }
  
      # Define cache
      cache_info = Mock()
      cache_info.repos = [repo_A]
      self.cache_info = cache_info
  
imports: import os
  import tempfile
  import time
  import unittest
  from pathlib import Path
  from unittest.mock import Mock
  import pytest
  from huggingface_hub._snapshot_download import snapshot_download
  from huggingface_hub.commands.scan_cache import ScanCacheCommand
  from huggingface_hub.utils import DeleteCacheStrategy, HFCacheInfo, capture_output, scan_cache_dir
  from huggingface_hub.utils._cache_manager import CacheNotFound, _format_size, _format_timesince, _try_delete_path
  from .testing_constants import TOKEN
  from .testing_utils import rmtree_with_retry, with_production_testing, xfail_on_windows
label_desc: Use image node_id 1 for calling the TestDeleteRevisionsDryRun obj's underlying member method code with example usage: obj.setUp() without return types