[Erp5-report] r27225 - in /erp5/trunk/bt5/erp5_ui_test_core: SkinTemplateItem/portal_skins/...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu May 28 09:03:08 CEST 2009


Author: ivan
Date: Thu May 28 09:03:07 2009
New Revision: 27225

URL: http://svn.erp5.org?rev=27225&view=rev
Log:
Make max wait period configurable from outside script.

Modified:
    erp5/trunk/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_waitForActivities.xml
    erp5/trunk/bt5/erp5_ui_test_core/bt/revision

Modified: erp5/trunk/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_waitForActivities.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_waitForActivities.xml?rev=27225&r1=27224&r2=27225&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_waitForActivities.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_waitForActivities.xml [utf8] Thu May 28 09:03:07 2009
@@ -56,15 +56,13 @@
             <value> <string encoding="cdata"><![CDATA[
 
 """\n
-We wait until all activities are finished\n
+  We wait until all activities are finished\n
 \n
-RuntimeError is raised in case there is no way\n
-to finish activities.\n
+  RuntimeError is raised in case there is no way\n
+  to finish activities.\n
 """\n
+from Products.ERP5Type.Utils import sleep\n
 \n
-\n
-from Products.ERP5Type.Utils import sleep\n
-count = 1000\n
 while len(context.portal_activities.getMessageList()) > 0:\n
   context.portal_activities.process_timer(0, 0)\n
   count -= 1\n
@@ -85,7 +83,7 @@
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string></string> </value>
+            <value> <string>count = 1000</string> </value>
         </item>
         <item>
             <key> <string>errors</string> </key>
@@ -105,15 +103,15 @@
                   <dictionary>
                     <item>
                         <key> <string>co_argcount</string> </key>
-                        <value> <int>0</int> </value>
+                        <value> <int>1</int> </value>
                     </item>
                     <item>
                         <key> <string>co_varnames</string> </key>
                         <value>
                           <tuple>
+                            <string>count</string>
                             <string>Products.ERP5Type.Utils</string>
                             <string>sleep</string>
-                            <string>count</string>
                             <string>len</string>
                             <string>_getattr_</string>
                             <string>context</string>
@@ -130,7 +128,9 @@
         <item>
             <key> <string>func_defaults</string> </key>
             <value>
-              <none/>
+              <tuple>
+                <int>1000</int>
+              </tuple>
             </value>
         </item>
         <item>

Modified: erp5/trunk/bt5/erp5_ui_test_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test_core/bt/revision?rev=27225&r1=27224&r2=27225&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test_core/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test_core/bt/revision [utf8] Thu May 28 09:03:07 2009
@@ -1,1 +1,1 @@
-9
+10




More information about the Erp5-report mailing list