Author: janguenot
Date: Wed Oct  5 12:56:28 2005
New Revision: 27958

Modified:
   z3lab/Zope3Benchs/trunk/test_Zope3.py
Log:
Extract the cleanup of buddy folders outside of the tearDown to avoid side 
effects on the metrics

Modified: z3lab/Zope3Benchs/trunk/test_Zope3.py
==============================================================================
--- z3lab/Zope3Benchs/trunk/test_Zope3.py       (original)
+++ z3lab/Zope3Benchs/trunk/test_Zope3.py       Wed Oct  5 12:56:28 2005
@@ -197,10 +197,8 @@
             self.get("%s/%s" %(server_url, id_),
                      description="View a buddy folder")
 
-    def tearDown(self):
-        """Setting down test.
-
-        Remove the buddy folders created during the test
+    def test_ZZZ_RemoveBuddyFolders(self):
+        """Remove all the created buddy folders
         """
         server_url = self.zope_url
         self.setBasicAuth(self.admin_id, self.admin_pwd)
@@ -211,7 +209,12 @@
         self.post("%s/@@contents.html" % server_url,
                   params=params,
                   description="Delete several buddy folders")
-        
+
+    def tearDown(self):
+        """Setting down test.
+
+        Remove the buddy folders created during the test
+        """
         self.logd("tearDown.")
 
 if __name__ in ('main', '__main__'):
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to