[CMF-checkins] CVS: CMF/CMFSetup/tests - test_workflow.py:1.29

Yvo Schubbe y.2005- at wcm-solutions.de
Thu Apr 7 12:39:18 EDT 2005


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 ) )
 



More information about the CMF-checkins mailing list