logo       
Google Custom Search
    AddThis Social Bookmark Button

CVS: CMF - all_cmf_tests.py:1.6: msg#00038

Subject: CVS: CMF - all_cmf_tests.py:1.6
Update of /cvs-repository/CMF
In directory cvs.zope.org:/tmp/cvs-serv23894

Modified Files:
        all_cmf_tests.py 
Log Message:


  - Ensure that tests will still run atop Zope 2.5, which didn't have
    'Zope.startup'.


=== CMF/all_cmf_tests.py 1.5 => 1.6 ===
--- CMF/all_cmf_tests.py:1.5    Tue Nov 19 06:47:07 2002
+++ CMF/all_cmf_tests.py        Tue Nov 19 09:42:24 2002
@@ -15,7 +15,12 @@
 def test_suite():
 
     import Zope
-    Zope.startup()
+
+    try:
+        Zope.startup()
+    except AttributeError:  # Zope <= 2.6.0
+        pass
+
     from Products.CMFCore.tests.base.utils import build_test_suite
 
     suite = unittest.TestSuite()






Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>