[Zope-CVS] CVS: Products/ZCTextIndex/tests - testQueryParser.py:1.9 testZCTextIndex.py:1.33

Guido van Rossum guido@python.org
Mon, 10 Jun 2002 11:34:49 -0400


Update of /cvs-repository/Products/ZCTextIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv9162

Modified Files:
	testQueryParser.py testZCTextIndex.py 
Log Message:
Disable tests using verify_class_implementation(), which has
disappeared from the Interface package.  What replaces it?


=== Products/ZCTextIndex/tests/testQueryParser.py 1.8 => 1.9 ===
 from unittest import TestCase, TestSuite, main, makeSuite
 
-from Interface import verify_class_implementation
+##from Interface import verify_class_implementation
 
 from Products.ZCTextIndex.IQueryParser import IQueryParser
 from Products.ZCTextIndex.IQueryParseTree import IQueryParseTree
@@ -289,7 +289,7 @@
 def test_suite():
     return TestSuite((makeSuite(TestQueryParser),
                       makeSuite(StopWordTestQueryParser),
-                      makeSuite(TestInterfaces),
+##                      makeSuite(TestInterfaces),
                     ))
 
 


=== Products/ZCTextIndex/tests/testZCTextIndex.py 1.32 => 1.33 ===
 ##############################################################################
 
-from Interface import verify_class_implementation
+##from Interface import verify_class_implementation
 
 from Products.PluginIndexes.common.PluggableIndex import \
      PluggableIndexInterface
@@ -188,8 +188,8 @@
     # Gigabytes, pp. 180-188.  This test peeks into many internals of the
     # cosine indexer.
 
-    def testInterface(self):
-        verify_class_implementation(PluggableIndexInterface, ZCTextIndex)
+##    def testInterface(self):
+##        verify_class_implementation(PluggableIndexInterface, ZCTextIndex)
 
     def testRanking(self):
         self.words = ["cold", "days", "eat", "hot", "lot", "nine", "old",