[Zope3-checkins] CVS: Zope3/src/zope/app/index/text/tests - test_batchedrankedprocessor.py:1.1.2.2
Tim Peters
tim.one@comcast.net
Tue, 24 Dec 2002 21:21:31 -0500
Update of /cvs-repository/Zope3/src/zope/app/index/text/tests
In directory cvs.zope.org:/tmp/cvs-serv19240/src/zope/app/index/text/tests
Modified Files:
Tag: NameGeddon-branch
test_batchedrankedprocessor.py
Log Message:
Whitespace normalization, via Python's Tools/scripts/reindent.py. The
files are fixed-points of that script now. Fixed a few cases where
code relied on significant trailing whitespace (ouch).
=== Zope3/src/zope/app/index/text/tests/test_batchedrankedprocessor.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/index/text/tests/test_batchedrankedprocessor.py:1.1.2.1 Mon Dec 23 14:31:40 2002
+++ Zope3/src/zope/app/index/text/tests/test_batchedrankedprocessor.py Tue Dec 24 21:20:31 2002
@@ -2,7 +2,7 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
@@ -25,7 +25,7 @@
from zope.textindex.textindexinterfaces import IQuerying
from zope.app.interfaces.index.interfaces import IBatchedQuery, ITextIndexQuery, \
IBatchedResult, IRankedHubIdList
-
+
from zope.app.index.text.processors import \
BatchedRankedProcessor, IBatchedRankedProcessor
from zope.app.index.queries import BatchedRankedResult
@@ -76,9 +76,9 @@
# Do introspection for parameterpassing on the index
self.failUnlessEqual(index.args, (u"test AND foo OR bar", 0, 20))
-
+
# Do introspection on the result
-
+
# BatchedResult
batch = getAdapter(result, IBatchedResult)
self.failUnlessEqual(0, batch.totalSize)