Merge "'tox -e py27' failed"

This commit is contained in:
Jenkins
2016-09-21 09:20:10 +00:00
committed by Gerrit Code Review

View File

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