def METHOD_NAME():
    """Reset the plugin system. This functionality is for unittests,
    and should never be used in Pavilion proper."""
    global _PLUGIN_MANAGER  # pylint: disable=W0603
    _PLUGIN_MANAGER = None
    for _, cat_obj in PLUGIN_CATEGORIES.items():
        module = inspect.getmodule(cat_obj)
        if hasattr(module, '__reset'):
            module.__reset()  # pylint: disable=W0212