[CMF-checkins] CVS: CMF/CMFCore/tests - test_TypesTool.py:1.12.2.3
Chris Withers
chrisw@nipltd.com
Thu, 14 Feb 2002 11:12:25 -0500
Update of /cvs-repository/CMF/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv9999
Modified Files:
Tag: ChrisW-refactor_tests-branch
test_TypesTool.py
Log Message:
removed test. Portal Folders should be used in portal rather than normal ones.
=== CMF/CMFCore/tests/test_TypesTool.py 1.12.2.2 => 1.12.2.3 ===
)
- def test_otherFolderTypes( self ):
- """
- Does 'invokeFactory' work when invoked from non-PortalFolder?
- Currently tests a bug which hasn't been fixed
- """
- self.root._setObject( 'portal', PortalFolder( 'portal', '' ) )
- portal = self.root.portal
- portal._setObject( 'normal', OFS.Folder.Folder( 'normal', '' ) )
- normal = portal.normal
- normal.invokeFactory( 'Dummy', 'dummy' )
- assert 'dummy' not in portal.objectIds()
- assert 'dummy' in normal.objectIds()
-
def test_processActions( self ):
"""
Are the correct, permitted methods returned for actions?