def testing_plugin_manager(cls, hook_managers, driver_managers):
        """Create a fabricated plugin manager for testing.

        """
        plugin_manager = cls.__new__(cls)
        plugin_manager.hook_managers = OrderedDict(hook_managers)
        plugin_manager.driver_managers = OrderedDict(driver_managers)
        return plugin_manager
def testing_plugin_manager ( cls , hook_managers , driver_managers ) : plugin_manager = cls . __new__ ( cls ) plugin_manager . hook_managers = OrderedDict ( hook_managers ) plugin_manager . driver_managers = OrderedDict ( driver_managers ) return plugin_manager
Create a fabricated plugin manager for testing.