code: def test_trust_repo_check_yes(self, patched_input):
      torch.hub.load(
          "ailzhang/torchhub_example",
          "mnist_zip_1_6",
          trust_repo="check",
      )
      self._assert_in_trusted_list("ailzhang_torchhub_example")
      patched_input.assert_called_once()
  
      # Loading a second time with "check", we don't ask for user input
      patched_input.reset_mock()
      torch.hub.load(
          "ailzhang/torchhub_example",
          "mnist_zip_1_6",
          trust_repo="check",
      )
      patched_input.assert_not_called()
  
imports: import unittest
  from unittest.mock import patch
  import os
  import tempfile
  import warnings
  import torch
  import torch.hub
  from torch.testing._internal.common_utils import retry, IS_SANDCASTLE, TestCase
label_desc: Use image node_id 20 for calling the TestHub obj's underlying member method code with example usage: obj.test_trust_repo_check_yes(patched_input) without return types