[CMF-checkins] CVS: CMF/CMFCore/tests - test_ActionProviderBase.py:1.3
Chris Withers
chrisw@nipltd.com
Sat, 9 Mar 2002 12:48:44 -0500
Update of /cvs-repository/CMF/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv20179/CMFCore/tests
Modified Files:
test_ActionProviderBase.py
Log Message:
Fixed ActionProvidorBase for the case when no permission
is specified for an action that is added TTW
=== CMF/CMFCore/tests/test_ActionProviderBase.py 1.2 => 1.3 ===
self.failUnless( apb._actions )
self.failIf( apb._actions is old_actions )
+ # make sure a blank permission gets stored as an empty tuple
+ self.assertEqual( apb._actions[0].permissions, () )
def test_changeActions( self ):