Ticket #1003 (closed enhancement: fixed)
use addCleanup in CommandTestMixin
|Reported by:||dustin||Owned by:||dustin|
We're no longer beholden to Twisted-2.5.0, so this code can be improved slightly:
26 def tearDownCommand(self): 27 """ 28 Call this from the tearDown method to clean up any leftover workdirs and do 29 any additional cleanup required. 30 """ 31 # note: Twisted-2.5.0 does not have addCleanup, or we could use that here..
Note: See TracTickets for help on using tickets.