[Buildbot-commits] [Buildbot] #1003: use addCleanup in CommandTestMixin

Buildbot buildbot-devel at lists.sourceforge.net
Wed Sep 29 20:43:46 UTC 2010


#1003: use addCleanup in CommandTestMixin
------------------------+---------------------------------------------------
Reporter:  dustin       |       Owner:  dustin
    Type:  enhancement  |      Status:  new   
Priority:  major        |   Milestone:  0.8.2 
 Version:  0.8.1        |    Keywords:        
------------------------+---------------------------------------------------
 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..
 }}}

-- 
Ticket URL: <http://buildbot.net/trac/ticket/1003>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list