[Zope3-checkins]
CVS: Zope3/src/zope/app/browser/services/service/tests
- test_service.py:1.1.2.1
Jim Fulton
jim at zope.com
Mon Sep 15 14:12:58 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/services/service/tests
In directory cvs.zope.org:/tmp/cvs-serv15511/src/zope/app/browser/services/service/tests
Modified Files:
Tag: parentgeddon-branch
test_service.py
Log Message:
Got lots of tests to pass.
Added a setitem helper function to be used to help satisfy container
contracts.
=== Zope3/src/zope/app/browser/services/service/tests/test_service.py 1.1 => 1.1.2.1 ===
--- Zope3/src/zope/app/browser/services/service/tests/test_service.py:1.1 Tue Sep 2 16:45:57 2003
+++ Zope3/src/zope/app/browser/services/service/tests/test_service.py Mon Sep 15 14:12:27 2003
@@ -21,7 +21,7 @@
from zope.publisher.browser import TestRequest
from zope.component.view import provideView
from zope.publisher.interfaces.browser import IBrowserPresentation
-from zope.app.tests.placelesssetup import PlacelessSetup
+from zope.app.tests.placelesssetup import PlacelessSetup, setUp, tearDown
from zope.testing.doctestunit import DocTestSuite
class IFoo(Interface):
@@ -59,7 +59,8 @@
def test_suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestComponentAdding))
- suite.addTest(DocTestSuite('zope.app.browser.services.service'))
+ suite.addTest(DocTestSuite('zope.app.browser.services.service',
+ setUp=setUp, tearDown=tearDown))
return suite
More information about the Zope3-Checkins
mailing list