[CMF-checkins] CVS: CMF - all_cmf_tests.py:1.4.4.1
Tres Seaver
tseaver@zope.com
Tue, 19 Nov 2002 09:40:57 -0500
Update of /cvs-repository/CMF
In directory cvs.zope.org:/tmp/cvs-serv23705
Modified Files:
Tag: CMF-1_3-branch
all_cmf_tests.py
Log Message:
- When running a Zope which has 'Zope.startup', invoke it at the start
of the run (it may be needed to set up products directories!).
=== CMF/all_cmf_tests.py 1.4 => 1.4.4.1 ===
--- CMF/all_cmf_tests.py:1.4 Sun Jun 30 18:27:01 2002
+++ CMF/all_cmf_tests.py Tue Nov 19 09:40:56 2002
@@ -15,6 +15,12 @@
def test_suite():
import Zope
+
+ try:
+ Zope.startup()
+ except AttributeError: # Zope <= 2.6.0
+ pass
+
from Products.CMFCore.tests.base.utils import build_test_suite
suite = unittest.TestSuite()