* morituri/test/common.py:

Make tests log.
This commit is contained in:
Thomas Vander Stichele
2012-11-19 20:44:30 +00:00
parent fa3a6b76c7
commit 3dc88a4a28
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2012-11-19 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/test/common.py:
Make tests log.
2012-11-19 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/common/common.py:

View File

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