[CMF-checkins] CVS: CMF/CMFCore/tests - test_PortalFolder.py:1.27
Sidnei da Silva
sidnei at x3ng.com.br
Sat Jan 31 15:34:05 EST 2004
Update of /cvs-repository/CMF/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv23668/CMFCore/tests
Modified Files:
test_PortalFolder.py
Log Message:
Fix for #215. Declare interfaces from base classes explicitly
=== CMF/CMFCore/tests/test_PortalFolder.py 1.26 => 1.27 ===
--- CMF/CMFCore/tests/test_PortalFolder.py:1.26 Fri Jan 2 07:55:59 2004
+++ CMF/CMFCore/tests/test_PortalFolder.py Sat Jan 31 15:34:04 2004
@@ -22,6 +22,8 @@
from Products.CMFCore.tests.base.utils import has_path
from Products.CMFCore.TypesTool import FactoryTypeInformation as FTI
from Products.CMFCore.TypesTool import TypesTool
+from Products.CMFCore.interfaces.Dynamic import DynamicType as IDynamicType
+from webdav.WriteLockInterface import WriteLockInterface
def extra_meta_types():
return [ { 'name' : 'Dummy', 'action' : 'manage_addFolder' } ]
@@ -183,6 +185,10 @@
assert not foo.after_add_called
assert foo.before_delete_called
assert len( catalog ) == 0
+
+ def test_tracker215( self ):
+ self.failUnless(IDynamicType.isImplementedBy(self.root.test))
+ self.failUnless(WriteLockInterface.isImplementedBy(self.root.test))
def test_folderMove( self ):
#
More information about the CMF-checkins
mailing list