[CMF-checkins] CVS: Products/CMFTopic/tests - common.py:1.1.2.1 test_DateC.py:1.14.2.1 test_ListC.py:1.12.2.1 test_SIC.py:1.12.2.1 test_SSC.py:1.11.2.1 test_SortC.py:1.7.2.1 test_Topic.py:1.16.2.1 test_all.py:1.8.8.1

Tres Seaver tseaver at palladion.com
Tue Jun 14 21:20:59 EDT 2005


Update of /cvs-repository/Products/CMFTopic/tests
In directory cvs.zope.org:/tmp/cvs-serv9978/CMFTopic/tests

Modified Files:
      Tag: tseaver-z28_only-branch
	common.py test_DateC.py test_ListC.py test_SIC.py test_SSC.py 
	test_SortC.py test_Topic.py test_all.py 
Log Message:
 - Zope 2.7 is dead!  Long live Zope 2.8!


=== Products/CMFTopic/tests/common.py 1.1 => 1.1.2.1 ===
--- Products/CMFTopic/tests/common.py:1.1	Mon Jun 13 13:32:05 2005
+++ Products/CMFTopic/tests/common.py	Tue Jun 14 21:20:28 2005
@@ -30,11 +30,7 @@
         verifyClass( ICriterion, self._getTargetClass() )
 
     def test_z3interfaces(self):
-        try:
-            from zope.interface.verify import verifyClass
-        except ImportError:
-            # BBB: for Zope 2.7
-            return
+        from zope.interface.verify import verifyClass
         from Products.CMFTopic.interfaces import ICriterion
 
         verifyClass( ICriterion, self._getTargetClass() )


=== Products/CMFTopic/tests/test_DateC.py 1.14 => 1.14.2.1 ===
--- Products/CMFTopic/tests/test_DateC.py:1.14	Mon Jun 13 13:32:05 2005
+++ Products/CMFTopic/tests/test_DateC.py	Tue Jun 14 21:20:28 2005
@@ -17,8 +17,8 @@
 
 from unittest import TestSuite, makeSuite, main
 import Testing
-import Zope
-Zope.startup()
+import Zope2
+Zope2.startup()
 
 from DateTime.DateTime import DateTime
 


=== Products/CMFTopic/tests/test_ListC.py 1.12 => 1.12.2.1 ===
--- Products/CMFTopic/tests/test_ListC.py:1.12	Mon Jun 13 13:32:05 2005
+++ Products/CMFTopic/tests/test_ListC.py	Tue Jun 14 21:20:28 2005
@@ -17,8 +17,8 @@
 
 from unittest import TestSuite, makeSuite, main
 import Testing
-import Zope
-Zope.startup()
+import Zope2
+Zope2.startup()
 
 from common import CriterionTestCase
 


=== Products/CMFTopic/tests/test_SIC.py 1.12 => 1.12.2.1 ===
--- Products/CMFTopic/tests/test_SIC.py:1.12	Mon Jun 13 13:32:05 2005
+++ Products/CMFTopic/tests/test_SIC.py	Tue Jun 14 21:20:28 2005
@@ -17,8 +17,8 @@
 
 from unittest import TestSuite, makeSuite, main
 import Testing
-import Zope
-Zope.startup()
+import Zope2
+Zope2.startup()
 
 from common import CriterionTestCase
 


=== Products/CMFTopic/tests/test_SSC.py 1.11 => 1.11.2.1 ===
--- Products/CMFTopic/tests/test_SSC.py:1.11	Mon Jun 13 13:32:05 2005
+++ Products/CMFTopic/tests/test_SSC.py	Tue Jun 14 21:20:28 2005
@@ -17,8 +17,8 @@
 
 from unittest import TestSuite, makeSuite, main
 import Testing
-import Zope
-Zope.startup()
+import Zope2
+Zope2.startup()
 
 from common import CriterionTestCase
 


=== Products/CMFTopic/tests/test_SortC.py 1.7 => 1.7.2.1 ===
--- Products/CMFTopic/tests/test_SortC.py:1.7	Mon Jun 13 13:32:05 2005
+++ Products/CMFTopic/tests/test_SortC.py	Tue Jun 14 21:20:28 2005
@@ -17,8 +17,8 @@
 
 from unittest import TestSuite, makeSuite, main
 import Testing
-import Zope
-Zope.startup()
+import Zope2
+Zope2.startup()
 
 from common import CriterionTestCase
 


=== Products/CMFTopic/tests/test_Topic.py 1.16 => 1.16.2.1 ===
--- Products/CMFTopic/tests/test_Topic.py:1.16	Mon Jun 13 13:32:05 2005
+++ Products/CMFTopic/tests/test_Topic.py	Tue Jun 14 21:20:28 2005
@@ -17,8 +17,8 @@
 
 from unittest import TestSuite, makeSuite, main
 import Testing
-import Zope
-Zope.startup()
+import Zope2
+Zope2.startup()
 
 from Acquisition import Implicit
 
@@ -163,11 +163,7 @@
         verifyClass(WriteLockInterface, Topic)
 
     def test_z3interfaces(self):
-        try:
-            from zope.interface.verify import verifyClass
-        except ImportError:
-            # BBB: for Zope 2.7
-            return
+        from zope.interface.verify import verifyClass
         from Products.CMFCore.interfaces import IDynamicType
         from Products.CMFCore.interfaces import IFolderish
         from Products.CMFTopic.Topic import Topic


=== Products/CMFTopic/tests/test_all.py 1.8 => 1.8.8.1 ===
--- Products/CMFTopic/tests/test_all.py:1.8	Thu Aug 12 11:07:43 2004
+++ Products/CMFTopic/tests/test_all.py	Tue Jun 14 21:20:28 2005
@@ -17,8 +17,8 @@
 
 from unittest import main
 import Testing
-import Zope
-Zope.startup()
+import Zope2
+Zope2.startup()
 
 from Products.CMFCore.tests.base.utils import build_test_suite
 



More information about the CMF-checkins mailing list