Log message for revision 65805:
  Fix tests by making dummy site implement nothing from its baseclasses.
  That way the five:localsite directive won't be confused about it already
  being an IPossibleSite (which ObjectManager will be).
  

Changed:
  U   Products.Five/branches/philikon-local-components/site/tests/dummy.py

-=-
Modified: Products.Five/branches/philikon-local-components/site/tests/dummy.py
===================================================================
--- Products.Five/branches/philikon-local-components/site/tests/dummy.py        
2006-03-04 23:39:55 UTC (rev 65804)
+++ Products.Five/branches/philikon-local-components/site/tests/dummy.py        
2006-03-04 23:40:44 UTC (rev 65805)
@@ -15,7 +15,7 @@
 
 $Id$
 """
-from zope.interface import implements, Interface
+from zope.interface import implements, implementsOnly, Interface
 from OFS.SimpleItem import SimpleItem
 from Products.Five.tests.testing import FiveTraversableFolder
 
@@ -25,7 +25,10 @@
 class DummySite(FiveTraversableFolder):
     """A very dummy Site
     """
-    implements(IDummySite)
+    # we specifically do not let this site inherit any interfaces from
+    # the superclasses so that this class does not implement
+    # IPossibleSite under any circumstances
+    implementsOnly(IDummySite)
 
 def manage_addDummySite(self, id, REQUEST=None):
     """Add the dummy site."""

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to