[Erp5-report] r33778 yo - /erp5/trunk/products/ERP5/tests/testBusinessTemplate.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 17 08:03:49 CET 2010


Author: yo
Date: Wed Mar 17 08:03:48 2010
New Revision: 33778

URL: http://svn.erp5.org?rev=33778&view=rev
Log:
Add a sanity check to stepModifySkinFolder.

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

Modified: erp5/trunk/products/ERP5/tests/testBusinessTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testBusinessTemplate.py?rev=33778&r1=33777&r2=33778&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testBusinessTemplate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testBusinessTemplate.py [utf8] Wed Mar 17 08:03:48 2010
@@ -6071,6 +6071,9 @@
     skin_folder._setProperty(
                     'business_template_skin_layer_priority',
                     99, type='float')
+    # Make sure it is really set.
+    self.assertEquals(
+        99, skin_folder.getProperty('business_template_skin_layer_priority'))
 
   def stepUnmodifySkinFolder(self, sequence=None,sequence_list=None, **kw):
     """




More information about the Erp5-report mailing list