code: def add_module_for_tst(module_class):
      all_modules[module_class.module_name] = module_class
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/utilities/core/modules/__init__.py
imports: import logging
  import os
  import re
  import sys
  from ....module import Module
  from ....constants.modules import do_not_override, should_override, all_modules, svn_revisions, pymodules, badmodules, builtin_modules, renamed_modules, unimplemented_modules, depricated_modules, replaced_modules
  from ..plugins import load_plugins
label_desc: Use image node_id 4 for calling a global function with example usage: add_module_for_tst(module_class) without return types