[Zope-CVS] CVS: Products/ZCTextIndex/tests - testIndex.py:1.5 testZCTextIndex.py:1.11
Guido van Rossum
guido@python.org
Thu, 16 May 2002 13:12:43 -0400
Update of /cvs-repository/Products/ZCTextIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv23818/tests
Modified Files:
testIndex.py testZCTextIndex.py
Log Message:
Renamed Index.py to CosineIndex.py
=== Products/ZCTextIndex/tests/testIndex.py 1.4 => 1.5 ===
from Products.ZCTextIndex.Lexicon import Lexicon, Splitter
-from Products.ZCTextIndex.Index import Index as CosineIndex
+from Products.ZCTextIndex.CosineIndex import Index as CosineIndex
from Products.ZCTextIndex.OkapiIndex import Index as OkapiIndex
# The cosine and Okapi indices have the same public interfaces, but these
=== Products/ZCTextIndex/tests/testZCTextIndex.py 1.10 => 1.11 ===
from Products.ZCTextIndex.tests \
import testIndex, testQueryEngine, testQueryParser
-from Products.ZCTextIndex.Index import scaled_int, SCALE_FACTOR
-from Products.ZCTextIndex.Index import Index as CosineIndex
+from Products.ZCTextIndex.CosineIndex import scaled_int, SCALE_FACTOR
+from Products.ZCTextIndex.CosineIndex import Index as CosineIndex
from Products.ZCTextIndex.OkapiIndex import Index as OkapiIndex
from Products.ZCTextIndex.Lexicon import Lexicon, Splitter
from Products.ZCTextIndex.Lexicon import CaseNormalizer, StopWordRemover