[Zope3-checkins] CVS: Zope3/src/zope/app/utilities/tests - test_content.py:1.6 test_interfaceutility.py:1.6

Naveen P pnaveen at zeomega.com
Thu Dec 18 04:57:49 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/utilities/tests
In directory cvs.zope.org:/tmp/cvs-serv29648/utilities/tests

Modified Files:
	test_content.py test_interfaceutility.py 
Log Message:
Applied the containment constraints on the PluggableAuthorisationService, PrincipalSource, Registration Manager and Adapter Registration.


=== Zope3/src/zope/app/utilities/tests/test_content.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/utilities/tests/test_content.py:1.5	Fri Nov 21 12:12:16 2003
+++ Zope3/src/zope/app/utilities/tests/test_content.py	Thu Dec 18 04:57:18 2003
@@ -48,6 +48,8 @@
 
 class ContentComponentDefinitionRegistrationTests(unittest.TestCase):
 
+    __name__ = __parent__ = None
+    
     def setUp(self):
         setup.placefulSetUp()
         self.rootFolder = setup.buildSampleFolderTree()


=== Zope3/src/zope/app/utilities/tests/test_interfaceutility.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/utilities/tests/test_interfaceutility.py:1.5	Sun Sep 21 13:33:49 2003
+++ Zope3/src/zope/app/utilities/tests/test_interfaceutility.py	Thu Dec 18 04:57:18 2003
@@ -28,6 +28,7 @@
 from zope.app.component.globalinterfaceservice \
      import interfaceService as globalInterfaceService
 from zope.interface import Interface, implements
+from zope.app.container.contained import Contained
 from zope.component import getService
 from zope.component.exceptions import ComponentLookupError
 from zope.app.traversing import traverse
@@ -84,7 +85,7 @@
         "See zope.app.interfaces.dependable.IDependable"
         return self._dependents
 
-class Foo(InterfaceClass, Baz):
+class Foo(InterfaceClass, Baz, Contained):
 
     def __init__(self, name):
         InterfaceClass.__init__(self, name, (Interface,))




More information about the Zope3-Checkins mailing list