diff --git a/watcher/tests/api/test_hooks.py b/watcher/tests/api/test_hooks.py index c1d692d61..9386f6750 100644 --- a/watcher/tests/api/test_hooks.py +++ b/watcher/tests/api/test_hooks.py @@ -120,6 +120,7 @@ class TestNoExceptionTracebackHook(base.FunctionalTest): p = mock.patch.object(root.Root, 'convert') self.root_convert_mock = p.start() self.addCleanup(p.stop) + cfg.CONF.set_override('debug', False, enforce_type=True) def test_hook_exception_success(self): self.root_convert_mock.side_effect = Exception(self.MSG_WITH_TRACE)