code: def test_custom_cache(self) -> None:
      old_cache = hub.get_dir()
      new_cache = join(old_cache, "custom")
      hub.set_dir(new_cache)
  
      model = hub.load(self.name, self.repo)
      self.assertIsInstance(model, ModelProto)
  
      cached_files = list(
          glob.glob(join(new_cache, "**", "*.onnx"), recursive=True)
      )
      self.assertGreaterEqual(len(cached_files), 1)
  
      hub.set_dir(old_cache)
  
file_path: onnx/onnx/test/hub_test.py
imports: import glob
  import os
  import unittest
  from os.path import join
  import pytest
  from onnx import ModelProto, hub
label_desc: Use image node_id 5 for calling the TestModelHub obj's underlying member method code with example usage: obj.test_custom_cache() without return types