code: def test_local_file_hashed_only_once(self, home):
      home.return_value = Path(self.temp.name)
      hashlib.sha1 = Mock(side_effect=hashlib.sha1)
  
      hash1 = FileHasher.get_local_file_hash(f"{self.temp.name}/test")
      hash2 = FileHasher.get_local_file_hash(f"{self.temp.name}/test")
  
      self.assertEqual(
          "d78f8bb992a56a597f6c7a1fb918bb78271367eb", hash1
      )
      self.assertEqual(
          "d78f8bb992a56a597f6c7a1fb918bb78271367eb", hash2
      )
      self.assertEqual(1, hashlib.sha1.call_count)
  
file_path: neptune-client/tests/unit/neptune/new/internal/artifacts/test_file_hasher.py
imports: import hashlib
  import tempfile
  import time
  import unittest
  from pathlib import Path
  from mock import Mock, patch
  from neptune.internal.artifacts.file_hasher import FileHasher
  from neptune.internal.artifacts.types import ArtifactFileData
label_desc: Use image node_id 6 for calling the TestFileHasher obj's underlying member method code with example usage: obj.test_local_file_hashed_only_once(home) without return types