[Zope3-checkins] CVS: Zope3/src/zope/app/component/tests -
test_servicemanagercontainer.py:1.9
Jim Fulton
jim at zope.com
Tue Feb 10 20:14:33 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/component/tests
In directory cvs.zope.org:/tmp/cvs-serv12431/src/zope/app/component/tests
Modified Files:
test_servicemanagercontainer.py
Log Message:
Removed dependencies on zope.context
=== Zope3/src/zope/app/component/tests/test_servicemanagercontainer.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/component/tests/test_servicemanagercontainer.py:1.8 Tue Sep 2 16:46:45 2003
+++ Zope3/src/zope/app/component/tests/test_servicemanagercontainer.py Tue Feb 10 20:14:01 2004
@@ -22,7 +22,6 @@
from zope.app.interfaces.services.service import IPossibleSite, ISite
from zope.component.exceptions import ComponentLookupError
from zope.interface.verify import verifyObject
-from zope.context import getbaseobject
from zope.interface import implements
class ServiceManager:
@@ -64,7 +63,7 @@
sm = ServiceManager()
smc.setSiteManager(sm)
self.failUnless(ISite.isImplementedBy(smc))
- self.failUnless(getbaseobject(smc.getSiteManager()) is sm)
+ self.failUnless(smc.getSiteManager() is sm)
verifyObject(ISite, smc)
def test_set_w_bogus_value(self):
More information about the Zope3-Checkins
mailing list