* morituri/test/common.py:
Make tests log.
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user