[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG/tests - testSimilarityLexicon.py:1.1.2.2

Andreas Jung andreas@digicool.com
Sat, 16 Feb 2002 19:46:30 -0500


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG/tests
In directory cvs.zope.org:/tmp/cvs-serv5829/tests

Modified Files:
      Tag: ajung-textindexng-branch
	testSimilarityLexicon.py 
Log Message:
renamed "Proximity" to "Similarity"


=== Zope/lib/python/Products/PluginIndexes/TextIndexNG/tests/testSimilarityLexicon.py 1.1.2.1 => 1.1.2.2 ===
 import sys, os, unittest
 
-from Products.PluginIndexes.TextIndexNG.ProximityLexicon import ProximityLexicon
+from Products.PluginIndexes.TextIndexNG.SimilarityLexicon import SimilarityLexicon
 from BTrees.IIBTree import IISet, difference
-import Proximity
+import  Similarity
 
 class Tests(unittest.TestCase):
 
@@ -44,7 +44,7 @@
     def doTest(self,s, algorithm):
         """ """
     
-        self._lexicon  = ProximityLexicon(algorithm)    
+        self._lexicon  = SimilarityLexicon(algorithm)    
 
         words = s.split()