[Zope3-checkins] CVS: Zope3/src/zope/app/container/tests -
test_ordered.py:1.3
Jim Fulton
jim at zope.com
Sun Sep 21 13:31:44 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/container/tests
In directory cvs.zope.org:/tmp/cvs-serv13409/src/zope/app/container/tests
Modified Files:
test_ordered.py
Log Message:
Added setUp and tearDown for tests. This was needed to set up an event
service to handle events published by container operations.
=== Zope3/src/zope/app/container/tests/test_ordered.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/container/tests/test_ordered.py:1.2 Mon Jun 23 18:46:15 2003
+++ Zope3/src/zope/app/container/tests/test_ordered.py Sun Sep 21 13:31:44 2003
@@ -21,10 +21,12 @@
from zope.interface import *
from zope.testing.doctestunit import DocTestSuite
from zope.interface import Interface
+from zope.app.tests.placelesssetup import setUp, tearDown
def test_suite():
suite = unittest.TestSuite()
- suite.addTest(DocTestSuite("zope.app.container.ordered"))
+ suite.addTest(DocTestSuite("zope.app.container.ordered",
+ setUp=setUp, tearDown=tearDown))
return suite
More information about the Zope3-Checkins
mailing list