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()