[Zope3-checkins] CVS: Zope3/src/zope/app/index/tests - test_objectretrievingprocessor.py:1.10
Steve Alexander
steve@cat-box.net
Sat, 7 Jun 2003 02:37:57 -0400
Update of /cvs-repository/Zope3/src/zope/app/index/tests
In directory cvs.zope.org:/tmp/cvs-serv4294/src/zope/app/index/tests
Modified Files:
test_objectretrievingprocessor.py
Log Message:
updated to use new-style interface declarations
=== Zope3/src/zope/app/index/tests/test_objectretrievingprocessor.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/index/tests/test_objectretrievingprocessor.py:1.9 Thu May 1 15:35:20 2003
+++ Zope3/src/zope/app/index/tests/test_objectretrievingprocessor.py Sat Jun 7 02:37:26 2003
@@ -31,13 +31,14 @@
from zope.app.index.processors import ObjectRetrievingProcessor
from zope.app.index.processors import RankedObjectRecord, RankedObjectIterator
from zope.app.index.queries import BatchedRankedResult
+from zope.interface import implements
class FakeObjectHub:
# This fake hub doesn't implement everything, but enough
# to satisfy our tests
- __implements__ = IObjectHub, ISimpleService
+ implements(IObjectHub, ISimpleService)
def __init__(self):
self.data = {}