[Tests] Make failure message more clear when test daemon doesn't shut down cleanly
This commit is contained in:
parent
71cde7c05e
commit
3dca30343f
|
@ -40,8 +40,7 @@ class BaseTestCase(unittest.TestCase):
|
|||
d = maybeDeferred(self.tear_down)
|
||||
|
||||
def on_teardown_failed(error):
|
||||
warnings.warn('Error caught in test teardown!\n%s' % error.getTraceback())
|
||||
self.fail()
|
||||
self.fail('Error caught in test teardown!\n%s' % error.getTraceback())
|
||||
|
||||
def on_teardown_complete(result):
|
||||
component._ComponentRegistry.components.clear()
|
||||
|
|
Loading…
Reference in New Issue