mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-10 19:46:22 +00:00
[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…
x
Reference in New Issue
Block a user