code: def iter_tests():
      root = os.path.join(os.path.dirname(__file__), "tests")
      sys.path.insert(0, root)
      for testfile in os.listdir(root):
          if testfile.endswith(".py") and not testfile[0] == ".":
              mod = importlib.import_module(
                  testfile[:-3], "metaflow_test"
              )
              for name in dir(mod):
                  obj = getattr(mod, name)
                  if (
                      name != "MetaflowTest"
                      and isinstance(obj, type)
                      and issubclass(obj, MetaflowTest)
                  ):
                      yield obj()
  
imports: import sys
  import os
  import json
  import uuid
  import glob
  import importlib
  import tempfile
  import shutil
  import subprocess
  from multiprocessing import Pool
  from metaflow._vendor import click
  from metaflow_test import MetaflowTest
  from metaflow_test.formatter import FlowFormatter
label_desc: Use image node_id 2 for calling a global function with example usage: iter_tests() without return types