[CMF-checkins] CVS: Products/CMFCore/tests/base -
testcase.py:1.5.16.5
Stefan H. Holek
stefan at epy.co.at
Tue Aug 10 07:53:52 EDT 2004
Update of /cvs-repository/Products/CMFCore/tests/base
In directory cvs.zope.org:/tmp/cvs-serv14323/tests/base
Modified Files:
Tag: CMF-1_4-branch
testcase.py
Log Message:
Zope.startup() may not exist.
=== Products/CMFCore/tests/base/testcase.py 1.5.16.4 => 1.5.16.5 ===
--- Products/CMFCore/tests/base/testcase.py:1.5.16.4 Fri Apr 23 17:11:36 2004
+++ Products/CMFCore/tests/base/testcase.py Tue Aug 10 07:53:51 2004
@@ -1,5 +1,8 @@
import Zope
-Zope.startup()
+try:
+ Zope.startup()
+except AttributeError:
+ pass
from unittest import TestCase
from AccessControl.SecurityManagement import newSecurityManager
from AccessControl.SecurityManagement import noSecurityManager
More information about the CMF-checkins
mailing list