code: def find_tested_models(test_file: str) -> List[str]:
      """
      Parse the content of test_file to detect what's in `all_model_classes`. This detects the models that inherit from
      the common test class.
  
      Args:
          test_file (`str`): The path to the test file to check
  
      Returns:
          `List[str]`: The list of models tested in that file.
      """
      with open(
          os.path.join(PATH_TO_TESTS, test_file),
          "r",
          encoding="utf-8",
          newline="\n",
      ) as f:
          content = f.read()
      all_models = re.findall(
          r"all_model_classes\s+=\s+\(\s*\(([^\)]*)\)", content
      )
      # Check with one less parenthesis as well
      all_models += re.findall(
          r"all_model_classes\s+=\s+\(([^\)]*)\)", content
      )
      if len(all_models) > 0:
          model_tested = []
          for entry in all_models:
              for line in entry.split(","):
                  name = line.strip()
                  if len(name) > 0:
                      model_tested.append(name)
          return model_tested
  
imports: import inspect
  import os
  import re
  import sys
  import types
  import warnings
  from collections import OrderedDict
  from difflib import get_close_matches
  from pathlib import Path
  from typing import List, Tuple
  from transformers import is_flax_available, is_tf_available, is_torch_available
  from transformers.models.auto import get_values
  from transformers.models.auto.configuration_auto import CONFIG_MAPPING_NAMES
  from transformers.models.auto.feature_extraction_auto import FEATURE_EXTRACTOR_MAPPING_NAMES
  from transformers.models.auto.image_processing_auto import IMAGE_PROCESSOR_MAPPING_NAMES
  from transformers.models.auto.processing_auto import PROCESSOR_MAPPING_NAMES
  from transformers.models.auto.tokenization_auto import TOKENIZER_MAPPING_NAMES
  from transformers.utils import ENV_VARS_TRUE_VALUES, direct_transformers_import
label_desc: Use image node_id 9 for calling a global function with example usage: find_tested_models(test_file) and returns: model_tested