[Zope3-checkins] CVS: Zope3/src/zope/app/index/tests - test_objectretrievingprocessor.py:1.9.10.1 test_subscribers.py:1.6.16.1
Grégoire Weber
zope@i-con.ch
Sun, 22 Jun 2003 10:24:10 -0400
Update of /cvs-repository/Zope3/src/zope/app/index/tests
In directory cvs.zope.org:/tmp/cvs-serv24874/src/zope/app/index/tests
Modified Files:
Tag: cw-mail-branch
test_objectretrievingprocessor.py test_subscribers.py
Log Message:
Synced up with HEAD
=== Zope3/src/zope/app/index/tests/test_objectretrievingprocessor.py 1.9 => 1.9.10.1 ===
--- 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 Sun Jun 22 10:23:09 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 = {}
=== Zope3/src/zope/app/index/tests/test_subscribers.py 1.6 => 1.6.16.1 ===
--- Zope3/src/zope/app/index/tests/test_subscribers.py:1.6 Sun Mar 23 17:35:39 2003
+++ Zope3/src/zope/app/index/tests/test_subscribers.py Sun Jun 22 10:23:09 2003
@@ -25,8 +25,7 @@
class TestRegistration(PlacefulSetup, TestCase):
def setUp(self):
- PlacefulSetup.setUp(self)
- self.buildFolders()
+ PlacefulSetup.setUp(self, site=True)
self.createStandardServices()
r = Registration()
default = traverse(self.rootFolder, '++etc++site/default')