[CMF-checkins] CVS: Products/CMFCalendar/tests - test_Calendar.py:1.4.22.7

Stefan H. Holek stefan at epy.co.at
Sat Aug 7 11:57:50 EDT 2004


Update of /cvs-repository/Products/CMFCalendar/tests
In directory cvs.zope.org:/tmp/cvs-serv15294/tests

Modified Files:
      Tag: CMF-1_4-branch
	test_Calendar.py 
Log Message:
Logout in tearDown().


=== Products/CMFCalendar/tests/test_Calendar.py 1.4.22.6 => 1.4.22.7 ===
--- Products/CMFCalendar/tests/test_Calendar.py:1.4.22.6	Thu Aug  5 17:00:49 2004
+++ Products/CMFCalendar/tests/test_Calendar.py	Sat Aug  7 11:57:50 2004
@@ -10,6 +10,7 @@
 from Products.CMFCalendar import CalendarTool
 from DateTime import DateTime
 from AccessControl.SecurityManagement import newSecurityManager
+from AccessControl.SecurityManagement import noSecurityManager
 from AccessControl.User import UnrestrictedUser
 from Products.ExternalMethod.ExternalMethod import manage_addExternalMethod
 
@@ -62,6 +63,7 @@
         apply(obj,params)
 
     def tearDown(self):
+        noSecurityManager()
         get_transaction().abort()
         self.app._p_jar.close()
 



More information about the CMF-checkins mailing list