[CMF-checkins] CVS: CMF/CMFCore/tests - test_ActionsTool.py:1.13
Yvo Schubbe
y.2004_ at wcm-solutions.de
Mon Feb 23 06:18:51 EST 2004
Update of /cvs-repository/CMF/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv23083/CMFCore/tests
Modified Files:
test_ActionsTool.py
Log Message:
- removed test_listDictionaryActions (This test is for a deprecated feature and will be removed after CMF 1.5 anyway. Don't think it's worth to keep it in sync.)
=== CMF/CMFCore/tests/test_ActionsTool.py 1.12 => 1.13 ===
--- CMF/CMFCore/tests/test_ActionsTool.py:1.12 Wed Feb 4 06:56:46 2004
+++ CMF/CMFCore/tests/test_ActionsTool.py Mon Feb 23 06:18:50 2004
@@ -80,26 +80,6 @@
'folder': [],
'global': []})
- def test_listDictionaryActions(self):
- """
- Check that listFilteredActionsFor works for objects
- that return dictionaries
- """
- root = self.root
- tool = self.tool
- root._setObject('donkey', PortalFolder('donkey'))
- self.assertEqual(tool.listFilteredActionsFor(root.donkey),
- {'workflow': [],
- 'user': [],
- 'object': [],
- 'folder': [{'permissions': ('List folder contents',),
- 'id': 'folderContents',
- 'url': 'http://foo/donkey/folder_contents',
- 'name': 'Folder contents',
- 'visible': 1,
- 'category': 'folder'}],
- 'global': []})
-
def test_DuplicateActions(self):
"""
Check that listFilteredActionsFor
More information about the CMF-checkins
mailing list