Rev 201: Removed now unnecessary cleanup from queue test stuff. in http://bzr.daniel-watkins.co.uk/pqm/abstract-patch

Daniel Watkins daniel at daniel-watkins.co.uk
Sun Jul 20 16:14:48 BST 2008


At http://bzr.daniel-watkins.co.uk/pqm/abstract-patch

------------------------------------------------------------
revno: 201
revision-id: daniel at daniel-watkins.co.uk-20080720151321-6rw3owxyorfqqe89
parent: daniel at daniel-watkins.co.uk-20080720145015-keiwgsunyso3uxfn
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
branch nick: abstract-patch
timestamp: Sun 2008-07-20 16:13:21 +0100
message:
  Removed now unnecessary cleanup from queue test stuff.
-------------- next part --------------
=== modified file 'pqm/tests/__init__.py'
--- a/pqm/tests/__init__.py	2008-07-20 14:36:43 +0000
+++ b/pqm/tests/__init__.py	2008-07-20 15:13:21 +0000
@@ -73,15 +73,10 @@
             messageFile.write(self.message3)
             messageFile.close()
 
-    def tearDown(self):
-        os.unlink(self.configFileName)
-        shutil.rmtree(self.queuedir, ignore_errors=True)
-
 
 class TestCaseWithQueue(TestCaseWithTransport):
 
     def getQueue(self, processing=True, empty=False):
         queue = QueueSetup(processing, empty)
         queue.setUp()
-        self.addCleanup(queue.tearDown)
         return queue



More information about the bazaar-commits mailing list