Update of /cvs-repository/CMF/CMFSetup/tests
In directory cvs.zope.org:/tmp/cvs-serv15705/CMFSetup/tests

Modified Files:
        test_workflow.py 
Log Message:
- get rid of 'not not' and types module
- import and whitespace cleanup


=== CMF/CMFSetup/tests/test_workflow.py 1.28 => 1.29 ===
--- CMF/CMFSetup/tests/test_workflow.py:1.28    Tue Dec 14 15:56:58 2004
+++ CMF/CMFSetup/tests/test_workflow.py Thu Apr  7 12:38:47 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

Reply via email to