[Zope-Checkins] CVS: Zope3 - ut.py:1.1.2.6
Jim Fulton
jim@zope.com
Mon, 25 Mar 2002 14:27:50 -0500
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv29810
Modified Files:
Tag: Zope-3x-branch
ut.py
Log Message:
Commmented out the cleanup code and added a comment on why you might
want to use the cleanup framework.
=== Zope3/ut.py 1.1.2.5 => 1.1.2.6 ===
from unittest import TestCase, TestSuite, main, makeSuite
-from Zope.Testing.CleanUp import CleanUp # Base class w registry cleanup
-class Test(CleanUp, TestCase):
+#############################################################################
+# If your tests change any global registries, then uncomment the
+# following import and include CleanUp as a base class of your
+# test. It provides a setUp and tearDown that clear global data that
+# has registered with the test cleanup framework. Don't use this
+# tests outside the Zope package.
+
+# from Zope.Testing.CleanUp import CleanUp # Base class w registry cleanup
+
+#############################################################################
+
+class Test(TestCase):
pass
def test_suite():