code: def _expected_path(weights_uri: str) -> str:
      hash_digest = sha256_hash(weights_uri)
      local_path = home_directory_path(FOLDER, hash_digest)
      return local_path
  
file_path: foolbox/tests/test_fetch_weights.py
imports: from foolbox.zoo import fetch_weights
  from foolbox.zoo.common import home_directory_path, sha256_hash
  from foolbox.zoo.weights_fetcher import FOLDER
  import os
  import pytest
  import shutil
  import responses
  import io
  import zipfile
label_desc: Use image node_id 5 for calling a global function with example usage: _expected_path(weights_uri) and returns: local_path