[Zope-CVS] CVS: Products/ZopeVersionControl/tests - testReferenceVersioning.py:1.2 testVersionControl.py:1.6

Grégoire Weber zope.org at incept.ch
Mon Jan 19 15:29:09 EST 2004


Update of /cvs-repository/Products/ZopeVersionControl/tests
In directory cvs.zope.org:/tmp/cvs-serv20928

Modified Files:
	testReferenceVersioning.py testVersionControl.py 
Log Message:
added Zope.startup() since unit tests seem to be written before Zope 2.6.1 was released


=== Products/ZopeVersionControl/tests/testReferenceVersioning.py 1.1 => 1.2 ===
--- Products/ZopeVersionControl/tests/testReferenceVersioning.py:1.1	Thu Oct 30 12:06:52 2003
+++ Products/ZopeVersionControl/tests/testReferenceVersioning.py	Mon Jan 19 15:29:08 2004
@@ -15,6 +15,12 @@
 $Id$
 """
 
+import Zope
+try:
+    Zope.startup()
+except NameError:  # pre Zope 2.6.1
+    pass
+
 import unittest
 
 from Products.ZopeVersionControl.tests.testVersionControl \


=== Products/ZopeVersionControl/tests/testVersionControl.py 1.5 => 1.6 ===
--- Products/ZopeVersionControl/tests/testVersionControl.py:1.5	Thu Feb 20 10:59:32 2003
+++ Products/ZopeVersionControl/tests/testVersionControl.py	Mon Jan 19 15:29:08 2004
@@ -13,6 +13,12 @@
 
 __version__='$Revision$'[11:-2]
 
+import Zope
+try:
+    Zope.startup()
+except NameError:  # pre Zope 2.6.1
+    pass
+
 import os, sys, unittest, ZODB, Acquisition, cStringIO
 from AccessControl.SecurityManagement import newSecurityManager
 from AccessControl.SecurityManagement import noSecurityManager




More information about the Zope-CVS mailing list