[Zope3-checkins] SVN: Zope3/branches/srichter-blow-services/src/zope/testing/cleanup.py Added setUp and cleanUp functions here.

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Dec 16 13:06:40 EST 2004


Log message for revision 28635:
  Added setUp and cleanUp functions here.
  

Changed:
  U   Zope3/branches/srichter-blow-services/src/zope/testing/cleanup.py

-=-
Modified: Zope3/branches/srichter-blow-services/src/zope/testing/cleanup.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/testing/cleanup.py	2004-12-16 17:51:17 UTC (rev 28634)
+++ Zope3/branches/srichter-blow-services/src/zope/testing/cleanup.py	2004-12-16 18:06:40 UTC (rev 28635)
@@ -52,7 +52,14 @@
 
     def cleanUp(self):
         """Clean up global data."""
-        for func, args, kw in _cleanups:
-            func(*args, **kw)
+        cleanUp()
 
     setUp = tearDown = cleanUp
+
+
+def cleanUp():
+    """Clean up global data."""
+    for func, args, kw in _cleanups:
+        func(*args, **kw)
+
+setUp = tearDown = cleanUp



More information about the Zope3-Checkins mailing list