[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG/tests - testTextIndexNG.py:1.1.2.2
Andreas Jung
andreas@digicool.com
Wed, 6 Feb 2002 09:04:21 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG/tests
In directory cvs.zope.org:/tmp/cvs-serv15488/tests
Modified Files:
Tag: ajung-textindexng-branch
testTextIndexNG.py
Log Message:
added test for globbing
=== Zope/lib/python/Products/PluginIndexes/TextIndexNG/tests/testTextIndexNG.py 1.1.2.1 => 1.1.2.2 ===
+ def testGlobbingOn(self):
+
+ self._init(arguments(
+ splitterCasefolding = 1,
+ useGlobbing = 1,
+ ))
+
+ self.search('te*', [1] )
+ self.search('sim*', [1] )
+ self.search('qu*', [2] )
+ self.search('br*', [2] )
+ self.search('QU*', [2] )
+ self.search('BR*', [2] )
+
def test_suite():