Example #1
0
    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)
Example #2
0
    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)
Example #3
0
    def setUp(self):
        super(HookTestCase, self).setUp()

        hooks.reset()
Example #4
0
    def setUp(self):
        super(HookTestCase, self).setUp()

        hooks.reset()