[Erp5-report] r30403 - in /erp5/trunk/bt5/erp5_ui_test_core: SkinTemplateItem/portal_skins/...
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Nov 8 14:13:09 CET 2009
Author: rafael
Date: Sun Nov 8 14:13:09 2009
New Revision: 30403
URL: http://svn.erp5.org?rev=30403&view=rev
Log:
2009-11-08 Rafael
* added Script for getMessageList from DummyMailHost
Added:
erp5/trunk/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/MailHost_reportMessageList.xml
Modified:
erp5/trunk/bt5/erp5_ui_test_core/bt/change_log
erp5/trunk/bt5/erp5_ui_test_core/bt/revision
Added: erp5/trunk/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/MailHost_reportMessageList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/MailHost_reportMessageList.xml?rev=30403&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/MailHost_reportMessageList.xml (added)
+++ erp5/trunk/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/MailHost_reportMessageList.xml [utf8] Sun Nov 8 14:13:09 2009
@@ -1,0 +1,146 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>Script_magic</string> </key>
+ <value> <int>3</int> </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>"""\n
+ Get the Message List from DummyMailHost.\n
+\n
+ This is used by functional tests to get all\n
+ emails sent by the instance. This will prevent \n
+ the instance spam mailing lists during the \n
+ Functional Tests.\n
+"""\n
+if getattr("context.MailHost", "getMessageList", None) is None:\n
+ return "ERROR: MailHost is not a DummyMailHost"\n
+\n
+for mail in context.MailHost.getMessageList():\n
+ for part in mail:\n
+ print part\n
+ print "="*79\n
+ print "" \n
+ \n
+return printed\n
+</string> </value>
+ </item>
+ <item>
+ <key> <string>_code</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>_print_</string>
+ <string>_print</string>
+ <string>getattr</string>
+ <string>None</string>
+ <string>_getiter_</string>
+ <string>_getattr_</string>
+ <string>context</string>
+ <string>mail</string>
+ <string>part</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>MailHost_reportMessageList</string> </value>
+ </item>
+ <item>
+ <key> <string>warnings</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_ui_test_core/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test_core/bt/change_log?rev=30403&r1=30402&r2=30403&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test_core/bt/change_log [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test_core/bt/change_log [utf8] Sun Nov 8 14:13:09 2009
@@ -1,3 +1,6 @@
+2009-11-08 Rafael
+* added Script for getMessageList from DummyMailHost
+
2009-04-20 Kazuhiko
* add Zuite_CommonTemplate that should a common template for all functional tests.
* add TestTool_getSkinName and TestTool_setSkinNameCookie so as to unify functional tests for normal skin and mobile skin.
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=30403&r1=30402&r2=30403&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test_core/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test_core/bt/revision [utf8] Sun Nov 8 14:13:09 2009
@@ -1,1 +1,1 @@
-12
+13
More information about the Erp5-report
mailing list