mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-22 18:22:40 +00:00
nicer cleanup plus a comment
This commit is contained in:
parent
b218b5426b
commit
05def35c26
@ -88,9 +88,9 @@ class IntroducerWeb(unittest.TestCase):
|
||||
self.port_assigner = SameProcessStreamEndpointAssigner()
|
||||
self.port_assigner.setUp()
|
||||
self.addCleanup(self.port_assigner.tearDown)
|
||||
|
||||
def tearDown(self):
|
||||
return flushEventualQueue(None)
|
||||
# Anything using Foolscap leaves some timer trash in the reactor that
|
||||
# we have to arrange to have cleaned up.
|
||||
self.addCleanup(lambda: flushEventualQueue(None))
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def test_welcome(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user