[Zope3-checkins] CVS: Zope3/src/zope/app/component/tests -
test_nextservice.py:1.8.2.2
Jim Fulton
jim at zope.com
Fri Sep 12 17:23:05 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/component/tests
In directory cvs.zope.org:/tmp/cvs-serv3657/component/tests
Modified Files:
Tag: parentgeddon-branch
test_nextservice.py
Log Message:
fixed bug in marking something a site
=== Zope3/src/zope/app/component/tests/test_nextservice.py 1.8.2.1 => 1.8.2.2 ===
--- Zope3/src/zope/app/component/tests/test_nextservice.py:1.8.2.1 Mon Sep 8 14:21:34 2003
+++ Zope3/src/zope/app/component/tests/test_nextservice.py Fri Sep 12 17:22:35 2003
@@ -23,7 +23,7 @@
from zope.component.exceptions import ComponentLookupError
from zope.component.interfaces import IServiceService
from zope.component.service import serviceManager
-from zope.interface import implements, directlyProvides
+from zope.interface import implements, directlyProvides, directlyProvidedBy
class ServiceManager:
@@ -40,7 +40,7 @@
def setSiteManager(self, sm):
self.sm = sm
sm.__parent__ = self
- directlyProvides(self, ISite)
+ directlyProvides(self, ISite, directlyProvidedBy(self))
class Root(Folder):
implements(IContainmentRoot)
More information about the Zope3-Checkins
mailing list