From 8b37bef12d32e40b69a37f3085a7fe449285ed6a Mon Sep 17 00:00:00 2001
From: licanwei
Date: Wed, 28 Sep 2016 10:47:03 +0800
Subject: [PATCH] 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
---
watcher/tests/api/test_hooks.py | 4 ----
1 file changed, 4 deletions(-)
diff --git a/watcher/tests/api/test_hooks.py b/watcher/tests/api/test_hooks.py
index 9386f6750..7e3622bc4 100644
--- a/watcher/tests/api/test_hooks.py
+++ b/watcher/tests/api/test_hooks.py
@@ -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)