[Erp5-report] r31731 leonardo - /erp5/trunk/products/ERP5/tests/testBase.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 13 17:01:49 CET 2010


Author: leonardo
Date: Wed Jan 13 17:01:46 2010
New Revision: 31731

URL: http://svn.erp5.org?rev=31731&view=rev
Log:
duh... make loop actually useful

Modified:
    erp5/trunk/products/ERP5/tests/testBase.py

Modified: erp5/trunk/products/ERP5/tests/testBase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testBase.py?rev=31731&r1=31730&r2=31731&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testBase.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testBase.py [utf8] Wed Jan 13 17:01:46 2010
@@ -1144,7 +1144,7 @@
     tb = newTempBase(self.portal, '_temp_base')
     for name in ('edit', 'setProperty'):
       # should not raise Unauthorized
-      edit = guarded_getattr(tb, 'edit')
+      edit = guarded_getattr(tb, name)
 
   @skip("isIndexable is not designed to work like tested here, this test \
       must be rewritten once we know how to handle correctly templates")




More information about the Erp5-report mailing list