code: def test_download_no_symlink_new_file(
      self, mock_are_symlinks_supported: Mock
  ) -> None:
      mock_are_symlinks_supported.return_value = False
      filepath = Path(
          hf_hub_download(
              DUMMY_MODEL_ID,
              filename=CONFIG_NAME,
              cache_dir=self.cache_dir,
              local_files_only=False,
              use_auth_token=TOKEN,
          )
      )
      # Not a symlink !
      self.assertFalse(filepath.is_symlink())
      self.assertTrue(filepath.is_file())
  
      # Blobs directory is empty
      self.assertEqual(
          len(list((Path(filepath).parents[2] / "blobs").glob("*"))), 0
      )
  
file_path: huggingface_hub/tests/test_cache_no_symlinks.py
imports: import unittest
  import warnings
  from pathlib import Path
  from unittest.mock import Mock, patch
  import pytest
  from huggingface_hub import hf_hub_download, scan_cache_dir
  from huggingface_hub.constants import CONFIG_NAME, HF_HUB_CACHE
  from huggingface_hub.file_download import are_symlinks_supported
  from .testing_constants import TOKEN
  from .testing_utils import DUMMY_MODEL_ID, with_production_testing
label_desc: Use image node_id 3 for calling the TestCacheLayoutIfSymlinksNotSupported obj's underlying member method code with example usage: obj.test_download_no_symlink_new_file(mock_are_symlinks_supported) without return types