[Zope-CVS] CVS: Products/ZCTextIndex/tests - hs-tool.py:1.3 indexhtml.py:1.3 testQueryParser.py:1.3 testZCTextIndex.py:1.4
Tim Peters
tim.one@comcast.net
Tue, 14 May 2002 23:50:07 -0400
Update of /cvs-repository/Products/ZCTextIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv17116/tests
Modified Files:
hs-tool.py indexhtml.py testQueryParser.py testZCTextIndex.py
Log Message:
Whitespace normalization.
=== Products/ZCTextIndex/tests/hs-tool.py 1.2 => 1.3 ===
else:
filename = "profile.dat"
-
+
main(filename, annotate_p)
=== Products/ZCTextIndex/tests/indexhtml.py 1.2 => 1.3 ===
print __doc__
sys.exit(2)
-
+
for o, v in opts:
if o == '-v':
VERBOSE += 1
if o == '-f':
FSPATH = v
-
+
if len(args) != 1:
print "Expected on argument"
print __doc__
@@ -91,5 +91,4 @@
print dir
main(db, rt, dir)
cn.close()
- fs.close()
-
+ fs.close()
=== Products/ZCTextIndex/tests/testQueryParser.py 1.2 => 1.3 ===
self.expect('"foo bar"', PhraseNode("foo bar"))
self.expect("foo bar", AndNode([AtomNode("foo"), AtomNode("bar")]))
-
+
self.expect('(("foo bar"))"', PhraseNode("foo bar"))
self.expect("((foo bar))", AndNode([AtomNode("foo"), AtomNode("bar")]))
=== Products/ZCTextIndex/tests/testZCTextIndex.py 1.3 => 1.4 ===
def __init__(self, text):
self.text = text
-
+
class LexiconHolder:
def __init__(self, lexicon):
self.lexicon = lexicon
-
+
class Extra:
pass