[Zope3-checkins] CVS: Zope3/src/zope/app/index/text/tests - test_batchedrankedprocessor.py:1.4

Steve Alexander steve@cat-box.net
Thu, 6 Feb 2003 08:04:10 -0500


Update of /cvs-repository/Zope3/src/zope/app/index/text/tests
In directory cvs.zope.org:/tmp/cvs-serv16158/src/zope/app/index/text/tests

Modified Files:
	test_batchedrankedprocessor.py 
Log Message:
Updated query interfaces.


=== Zope3/src/zope/app/index/text/tests/test_batchedrankedprocessor.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/index/text/tests/test_batchedrankedprocessor.py:1.3	Sat Dec 28 12:49:27 2002
+++ Zope3/src/zope/app/index/text/tests/test_batchedrankedprocessor.py	Thu Feb  6 08:03:38 2003
@@ -25,9 +25,8 @@
 from zope.textindex.textindexinterfaces import IQuerying
 from zope.app.interfaces.index.interfaces import \
     IBatchedQuery, ITextIndexQuery, IBatchedResult, IRankedHubIdList
-
-from zope.app.index.text.processors import \
-    BatchedRankedProcessor, IBatchedRankedProcessor
+from zope.app.interfaces.services.query import IQueryProcessor
+from zope.app.index.text.processors import BatchedRankedProcessor
 from zope.app.index.queries import BatchedRankedResult
 from zope.app.index.text.queries import BatchedTextIndexQuery
 
@@ -65,7 +64,7 @@
 
     def test_IVerify(self):
         processor = BatchedRankedProcessor(StupidTextIndex(None))
-        verifyObject(IBatchedRankedProcessor, processor)
+        verifyObject(IQueryProcessor, processor)
 
     def test_parameter(self):
         query = BatchedTextIndexQuery(u"test AND foo OR bar", 0, 20)