[Zope3-checkins] CVS: Zope3/src/zope/keywordindex/tests - test_keywordindex.py:1.1.2.3
Andreas Jung
andreas@andreas-jung.com
Sat, 12 Jul 2003 09:42:38 -0400
Update of /cvs-repository/Zope3/src/zope/keywordindex/tests
In directory cvs.zope.org:/tmp/cvs-serv32615/zope/keywordindex/tests
Modified Files:
Tag: ajung-keywordindex-branch
test_keywordindex.py
Log Message:
some more tests for reindexing
=== Zope3/src/zope/keywordindex/tests/test_keywordindex.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/keywordindex/tests/test_keywordindex.py:1.1.2.2 Sat Jul 12 06:57:42 2003
+++ Zope3/src/zope/keywordindex/tests/test_keywordindex.py Sat Jul 12 09:42:33 2003
@@ -80,6 +80,12 @@
self.index.unindex_doc(2)
self.index.index_doc(1, ('foo', 'bar'))
self.assertEqual(self.index.documentCount(), 3)
+ self._search('quick', IISet())
+ self._search('foo', IISet([1]))
+ self._search('foo', IISet([1]))
+ self._search('bar', IISet([1]))
+ self._search_and(('foo', 'bar'), IISet([1]))
+ self._search('cmf', IISet([5]))
def test_hasdoc(self):