def _register_functions():
 for module_ in modules.__all__:
  mod_name = _to_snake_case(module_)
  mod_func = _copy_function(mod_name, str(mod_name))
  mod_func.__doc__ = _build_doc(module_)
  __all__.append(mod_name)
  globals()[mod_name] = mod_func

def _register_functions ( ) : for module_ in modules . __all__ : mod_name = _to_snake_case ( module_ ) mod_func = _copy_function ( mod_name , str ( mod_name ) ) mod_func . __doc__ = _build_doc ( module_ ) __all__ . append ( mod_name ) globals ( ) [ mod_name ] = mod_func
iterate through the exposed testinfra modules .