[CMF-checkins] CVS: CMF/CMFCore/tests -
test_ActionProviderBase.py:1.11
Yvo Schubbe
schubbe at web.de
Mon Jan 5 12:29:21 EST 2004
Update of /cvs-repository/CMF/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv6633/CMFCore/tests
Modified Files:
test_ActionProviderBase.py
Log Message:
raise an error if no Action meets the given specification
=== CMF/CMFCore/tests/test_ActionProviderBase.py 1.10 => 1.11 ===
--- CMF/CMFCore/tests/test_ActionProviderBase.py:1.10 Fri Jan 2 07:55:58 2004
+++ CMF/CMFCore/tests/test_ActionProviderBase.py Mon Jan 5 12:29:20 2004
@@ -185,8 +185,9 @@
self.assertEqual( rval, wanted )
rval = apb.getActionInfo('object/an_id')
self.assertEqual( rval, wanted )
- rval = apb.getActionInfo('object/an_id', check_visibility=1)
- self.assertEqual( rval, None )
+ self.assertRaises( ValueError,
+ apb.getActionInfo,
+ 'object/an_id', check_visibility=1 )
def test_interface(self):
from Products.CMFCore.interfaces.portal_actions \
More information about the CMF-checkins
mailing list