Update of /cvs-repository/CMF/CMFSetup/tests
In directory cvs.zope.org:/tmp/cvs-serv14996/CMFSetup/tests
Modified Files:
Tag: CMF-1_5-branch
test_workflow.py
Log Message:
- get rid of 'not not' and types module
- import and whitespace cleanup
=== CMF/CMFSetup/tests/test_workflow.py 1.24.2.2 => 1.24.2.3 ===
--- CMF/CMFSetup/tests/test_workflow.py:1.24.2.2 Tue Dec 14 15:56:26 2004
+++ CMF/CMFSetup/tests/test_workflow.py Thu Apr 7 12:37:46 2005
@@ -2177,7 +2177,7 @@
p_expected = expected[ 3 ].get( permission, [] )
self.assertEqual( bool( p_info[ 'acquired' ] )
- , type( p_expected ) is type( [] ) )
+ , isinstance(p_expected, list) )
self.assertEqual( len( p_info[ 'roles' ] ), len( p_expected ) )
_______________________________________________
CMF-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins