def setUp(self): super(MockedHookTestCase, self).setUp() hooks.reset() hook_manager = hooks.HookManager.make_test_instance(self.PLUGINS) self.stubs.Set(hooks, 'HookManager', lambda x: hook_manager)
def setUp(self): super(HookTestCase, self).setUp() hooks.reset() self.stubs.Set(stevedore.extension.ExtensionManager, '_load_plugins', self._mock_load_plugins)
def setUp(self): super(HookTestCase, self).setUp() hooks.reset()