[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - test_pluggableauth.py:1.3

Jim Fulton jim at zope.com
Sun Sep 21 13:33:19 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/services/tests
In directory cvs.zope.org:/tmp/cvs-serv15220/src/zope/app/services/tests

Modified Files:
	test_pluggableauth.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/services/tests/test_pluggableauth.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/services/tests/test_pluggableauth.py:1.2	Mon Jun 23 18:46:18 2003
+++ Zope3/src/zope/app/services/tests/test_pluggableauth.py	Sun Sep 21 13:33:19 2003
@@ -21,10 +21,14 @@
 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.services.pluggableauth"))
+    suite.addTest(
+        DocTestSuite("zope.app.services.pluggableauth",
+                     setUp=setUp, tearDown=tearDown),
+        )
 
     return suite
 




More information about the Zope3-Checkins mailing list