From 3dc88a4a28171ba2d6edf8d5f2444f3b9015b1e6 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 19 Nov 2012 20:44:30 +0000 Subject: [PATCH] * morituri/test/common.py: Make tests log. --- ChangeLog | 5 +++++ morituri/test/common.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6a17ca1..c9c0879 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-11-19 Thomas Vander Stichele + + * morituri/test/common.py: + Make tests log. + 2012-11-19 Thomas Vander Stichele * morituri/common/common.py: diff --git a/morituri/test/common.py b/morituri/test/common.py index ce14663..d1aa8d7 100644 --- a/morituri/test/common.py +++ b/morituri/test/common.py @@ -39,7 +39,7 @@ def diffStrings(orig, new, desc='input'): desc=desc) -class TestCase(unittest.TestCase): +class TestCase(log.Loggable, unittest.TestCase): # unittest.TestCase.failUnlessRaises does not return the exception, # and we'd like to check for the actual exception under TaskException, # so override the way twisted.trial.unittest does, without failure