[Erp5-report] r12444 - in /erp5/trunk: bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jan 30 06:13:00 CET 2007
Author: kazuhiko
Date: Tue Jan 30 06:12:45 2007
New Revision: 12444
URL: http://svn.erp5.org?rev=12444&view=rev
Log:
* cancel overwriting of postResults() to save results of automatic test
to ZODB.
* add portal_skins/erp5_ui_test/TestTool_getResults to get results.
Added:
erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/TestTool_getResults.xml
Modified:
erp5/trunk/bt5/erp5_ui_test/bt/revision
erp5/trunk/products/ERP5/Tool/TestTool.py
Added: erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/TestTool_getResults.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/TestTool_getResults.xml?rev=12444&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/TestTool_getResults.xml (added)
+++ erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/TestTool_getResults.xml Tue Jan 30 06:12:45 2007
@@ -1,0 +1,151 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <tuple>
+ <string>Products.PythonScripts.PythonScript</string>
+ <string>PythonScript</string>
+ </tuple>
+ <none/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>Python_magic</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>Script_magic</string> </key>
+ <value> <int>3</int> </value>
+ </item>
+ <item>
+ <key> <string>__ac_local_roles__</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_bind_names</string> </key>
+ <value>
+ <object>
+ <klass>
+ <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+ </klass>
+ <tuple/>
+ <state>
+ <dictionary>
+ <item>
+ <key> <string>_asgns</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>name_container</string> </key>
+ <value> <string>container</string> </value>
+ </item>
+ <item>
+ <key> <string>name_context</string> </key>
+ <value> <string>context</string> </value>
+ </item>
+ <item>
+ <key> <string>name_m_self</string> </key>
+ <value> <string>script</string> </value>
+ </item>
+ <item>
+ <key> <string>name_subpath</string> </key>
+ <value> <string>traverse_subpath</string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ </dictionary>
+ </state>
+ </object>
+ </value>
+ </item>
+ <item>
+ <key> <string>_body</string> </key>
+ <value> <string>portal_tests = container.portal_tests\n
+results = [portal_tests.absolute_url() + "/" + e for e in portal_tests.objectIds() if e.startswith("result_")]\n
+results.reverse()\n
+return "\\n".join(results) + "\\n"\n
+</string> </value>
+ </item>
+ <item>
+ <key> <string>_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_filepath</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_params</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>errors</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>func_code</string> </key>
+ <value>
+ <object>
+ <klass>
+ <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+ </klass>
+ <tuple/>
+ <state>
+ <dictionary>
+ <item>
+ <key> <string>co_argcount</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>co_varnames</string> </key>
+ <value>
+ <tuple>
+ <string>append</string>
+ <string>$append0</string>
+ <string>_getiter_</string>
+ <string>_getattr_</string>
+ <string>container</string>
+ <string>e</string>
+ <string>results</string>
+ </tuple>
+ </value>
+ </item>
+ </dictionary>
+ </state>
+ </object>
+ </value>
+ </item>
+ <item>
+ <key> <string>func_defaults</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>TestTool_getResults</string> </value>
+ </item>
+ <item>
+ <key> <string>warnings</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/revision?rev=12444&r1=12443&r2=12444&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/revision (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/revision Tue Jan 30 06:12:45 2007
@@ -1,1 +1,1 @@
-162
+163
Modified: erp5/trunk/products/ERP5/Tool/TestTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/TestTool.py?rev=12444&r1=12443&r2=12444&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/TestTool.py (original)
+++ erp5/trunk/products/ERP5/Tool/TestTool.py Tue Jan 30 06:12:45 2007
@@ -66,11 +66,11 @@
prefix=prefix + ( tcid, ) ) )
# Override this method to produce ERP5-style reports.
- security.declarePublic('postResults')
- def postResults(self, REQUEST):
- """ Record the results of a test run.
- """
- return self.TestTool_reportResult(REQUEST)
+ # security.declarePublic('postResults')
+ # def postResults(self, REQUEST):
+ # """ Record the results of a test run.
+ # """
+ # return self.TestTool_reportResult(REQUEST)
except ImportError:
class TestTool (BaseTool):
More information about the Erp5-report
mailing list