[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)
|
d = maybeDeferred(self.tear_down)
|
||||||
|
|
||||||
def on_teardown_failed(error):
|
def on_teardown_failed(error):
|
||||||
warnings.warn('Error caught in test teardown!\n%s' % error.getTraceback())
|
self.fail('Error caught in test teardown!\n%s' % error.getTraceback())
|
||||||
self.fail()
|
|
||||||
|
|
||||||
def on_teardown_complete(result):
|
def on_teardown_complete(result):
|
||||||
component._ComponentRegistry.components.clear()
|
component._ComponentRegistry.components.clear()
|
||||||
|
|
Loading…
Reference in New Issue