[CMF-checkins] CVS: Products/CMFCalendar/tests -
test_Calendar.py:1.11
Stefan H. Holek
stefan at epy.co.at
Sat Aug 7 11:15:08 EDT 2004
Update of /cvs-repository/Products/CMFCalendar/tests
In directory cvs.zope.org:/tmp/cvs-serv6531/tests
Modified Files:
test_Calendar.py
Log Message:
Nuke the logged in user in tearDown().
=== Products/CMFCalendar/tests/test_Calendar.py 1.10 => 1.11 ===
--- Products/CMFCalendar/tests/test_Calendar.py:1.10 Wed Aug 4 19:04:30 2004
+++ Products/CMFCalendar/tests/test_Calendar.py Sat Aug 7 11:15:07 2004
@@ -21,6 +21,7 @@
Zope.startup()
from AccessControl.SecurityManagement import newSecurityManager
+from AccessControl.SecurityManagement import noSecurityManager
from AccessControl.User import UnrestrictedUser
from DateTime import DateTime
from Products.ExternalMethod.ExternalMethod import manage_addExternalMethod
@@ -75,6 +76,7 @@
obj(*params)
def tearDown(self):
+ noSecurityManager()
get_transaction().abort()
self.app._p_jar.close()
More information about the CMF-checkins
mailing list