Remove duplicate unittest

In tests/api/test_hooks.py
the 'test_hook_without_traceback_debug'
and 'test_hook_without_traceback_debug_tracebacks'
have the same function.

Change-Id: I5209bc8b1251b77b7444d51531c3902529d11453
This commit is contained in:
licanwei
2016-09-28 10:47:03 +08:00
parent d3d85c4801
commit 8b37bef12d

View File

@@ -167,10 +167,6 @@ class TestNoExceptionTracebackHook(base.FunctionalTest):
cfg.CONF.set_override('debug', True, enforce_type=True)
self._test_hook_without_traceback()
def test_hook_without_traceback_debug_tracebacks(self):
cfg.CONF.set_override('debug', True, enforce_type=True)
self._test_hook_without_traceback()
def _test_hook_on_serverfault(self):
self.root_convert_mock.side_effect = Exception(self.MSG_WITH_TRACE)