code: def data_collection_API_cases_runner():
      """ "
      data_colection_API_names, skipped_API = data_collection_API_register()
      for data_colection_API_name in data_colection_API_names:
          invalid_data_collection_API_obj = TestDataCollectionAPIsInvalid()
          for func in dir(invalid_data_collection_API_obj):
              if func in skipped_API:
                  continue
              if not func.startswith("__"):
                  print("Testing %s:%s" % (func, data_colection_API_name))
                  res = methodcaller(func, data_colection_API_name)(invalid_data_collection_API_obj)
                  if res == 1:
                      print("%s:%s PASS" % (func, data_colection_API_name))
                  else:
                      print("%s:%s FAIL" % (func, data_colection_API_name))
      """
  
      data_collection_API_obj = TestDataCollectionAPIsValid()
      for func in dir(data_collection_API_obj):
          if not func.startswith("__"):
              print("Testing %s" % func)
              res = methodcaller(func)(data_collection_API_obj)
              if res == 1:
                  print("%s PASS" % func)
              else:
                  print("%s FAIL" % func)
  
      invalid_pipe_API_obj = TestPipeAPIsInvalid()
      for func in dir(invalid_pipe_API_obj):
          if not func.startswith("__"):
              print("Testing %s" % func)
              res = methodcaller(func)(invalid_pipe_API_obj)
              if res == 1:
                  print("%s PASS" % func)
              else:
                  print("%s FAIL" % func)
  
file_path: towhee/tests/testcases/test_main.py
imports: from operator import methodcaller
  from test_image_embedding import *
  from test_data_collection import *
  from test_command import *
label_desc: Use image node_id 8 for calling a global function with example usage: data_collection_API_cases_runner() without return types