[Zope3-checkins] CVS: Zope3/src/zope/app/index/tests -
test_objectretrievingprocessor.py:1.12
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Mar 11 04:20:02 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/index/tests
In directory cvs.zope.org:/tmp/cvs-serv28114/src/zope/app/index/tests
Modified Files:
test_objectretrievingprocessor.py
Log Message:
Moved object hub to zope.app.hub. I did provide module aliases.
=== Zope3/src/zope/app/index/tests/test_objectretrievingprocessor.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/index/tests/test_objectretrievingprocessor.py:1.11 Tue Mar 2 09:40:12 2004
+++ Zope3/src/zope/app/index/tests/test_objectretrievingprocessor.py Thu Mar 11 04:19:31 2004
@@ -13,7 +13,6 @@
"""
$Id$
"""
-
from unittest import TestCase, main, makeSuite
from zope.interface import implements
from zope.interface.verify import verifyObject
@@ -23,7 +22,7 @@
from zope.app.tests.placelesssetup import PlacelessSetup
from zope.app.interfaces.services.query import IQueryProcessor
-from zope.app.interfaces.services.hub import IObjectHub
+from zope.app.hub.interfaces import IObjectHub
from zope.app.index.interfaces.interfaces import \
IRankedObjectIterator, IRankedObjectRecord
@@ -51,21 +50,10 @@
def getObject(self, id):
return self.data[id]
-#############################################################################
-# If your tests change any global registries, then uncomment the
-# following import and include CleanUp as a base class of your
-# test. It provides a setUp and tearDown that clear global data that
-# has registered with the test cleanup framework. Don't use this
-# tests outside the Zope package.
-
-# from zope.testing.cleanup import CleanUp # Base class w registry cleanup
-
-#############################################################################
class Test(PlacelessSetup, TestCase):
- ############################################################
- # Interface-driven tests:
+ # Interface-driven tests
def test_IVerify(self):
verifyObject(IRankedObjectRecord, RankedObjectRecord(None, None))
More information about the Zope3-Checkins
mailing list