summary refs log tree commit diff
path: root/tests/unittest.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/unittest.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unittest.py b/tests/unittest.py
index 19be03b96a..c66a3b8407 100644
--- a/tests/unittest.py
+++ b/tests/unittest.py
@@ -49,3 +49,8 @@ class TestCase(unittest.TestCase):
             logging.getLogger().setLevel(level)
             return orig_setUp()
         self.setUp = setUp
+
+
+def DEBUG(target):
+    target.loglevel = logging.DEBUG
+    return target