[Zope-Checkins] CVS: Products/PluginIndexes/tests - testTextIndex.py:

Evan Simpson evan@zope.com
Wed, 15 Aug 2001 16:46:10 -0400

Update of /cvs-repository/Products/PluginIndexes/tests
In directory cvs.zope.org:/tmp/cvs-serv13138/tests

Modified Files:
      Tag: Zope-2_4-branch
Log Message:
Fix parse2 bug in TextIndex, and add a test for it.

=== Products/PluginIndexes/tests/testTextIndex.py => ===
        "Test a default OR query"
        self.globTest({'text':'time country'}, [0,1,6])
+       self.globTest({'text':'time good country'}, [0,1,6])
    def testNearQuery(self):
        """Test a NEAR query.. (NOTE:ACTUALLY AN 'AND' TEST!!)"""