[Zope-Checkins] CVS: Zope/lib/python/Products/ZCTextIndex/tests - testZCTextIndex.py:1.36
Martijn Pieters
mj@zope.com
Wed, 14 Aug 2002 18:25:45 -0400
Update of /cvs-repository/Zope/lib/python/Products/ZCTextIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv27658/ZCTextIndex/tests
Modified Files:
testZCTextIndex.py
Log Message:
Clean up indentation and trailing whitespace.
=== Zope/lib/python/Products/ZCTextIndex/tests/testZCTextIndex.py 1.35 => 1.36 ===
--- Zope/lib/python/Products/ZCTextIndex/tests/testZCTextIndex.py:1.35 Wed Aug 14 17:43:46 2002
+++ Zope/lib/python/Products/ZCTextIndex/tests/testZCTextIndex.py Wed Aug 14 18:25:14 2002
@@ -41,10 +41,10 @@
class LexiconHolder(Acquisition.Implicit):
def __init__(self, lexicon):
self.lexicon = lexicon
-
+
def getPhysicalPath(self):
return ('',) # Pretend to be the root
-
+
def dummyUnrestrictedTraverse(self, path):
if path == ('', 'lexicon',):
return self.lexicon
@@ -102,13 +102,13 @@
def setUp(self):
self.lexicon = PLexicon('lexicon', '',
- Splitter(),
- CaseNormalizer(),
+ Splitter(),
+ CaseNormalizer(),
StopWordRemover())
caller = LexiconHolder(self.lexicon)
- self.zc_index = ZCTextIndex('name',
- None,
- caller,
+ self.zc_index = ZCTextIndex('name',
+ None,
+ caller,
self.IndexFactory,
'text',
'lexicon')
@@ -466,14 +466,14 @@
def setUp(self):
self.lexicon = PLexicon('lexicon', '',
- Splitter(),
- CaseNormalizer(),
+ Splitter(),
+ CaseNormalizer(),
StopWordRemover())
caller = LexiconHolder(self.lexicon)
-
- self.zc_index = ZCTextIndex('name',
- None,
- caller,
+
+ self.zc_index = ZCTextIndex('name',
+ None,
+ caller,
self.IndexFactory,
'text',
'lexicon')