[CMF-checkins] CVS: CMF/CMFCore/tests -
test_PortalFolder.py:1.21.4.2
Sidnei da Silva
sidnei at x3ng.com.br
Sat Jan 31 15:29:58 EST 2004
Update of /cvs-repository/CMF/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv22920/CMFCore/tests
Modified Files:
Tag: CMF-1_4-branch
test_PortalFolder.py
Log Message:
Fix for #215. Declare interfaces from base classes explicitly
=== CMF/CMFCore/tests/test_PortalFolder.py 1.21.4.1 => 1.21.4.2 ===
--- CMF/CMFCore/tests/test_PortalFolder.py:1.21.4.1 Wed Jun 11 07:10:43 2003
+++ CMF/CMFCore/tests/test_PortalFolder.py Sat Jan 31 15:29:57 2004
@@ -22,6 +22,8 @@
from Products.CMFCore.CatalogTool import CatalogTool
from Products.CMFCore.PortalFolder import PortalFolder
from Products.CMFCore.PortalFolder import ContentFilter
+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