[Erp5-report] r26592 - in /erp5/trunk/bt5/erp5_accounting_ui_test: SkinTemplateItem/portal_...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Apr 22 16:02:23 CEST 2009
Author: jerome
Date: Wed Apr 22 16:02:22 2009
New Revision: 26592
URL: http://svn.erp5.org?rev=26592&view=rev
Log:
initialize accounting module selection to sort by preferred_gap_id, like it was set on the listbox before (instead of rewriting the test suite...)
Modified:
erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_reset.xml
erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision
Modified: erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_reset.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_reset.xml?rev=26592&r1=26591&r2=26592&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_reset.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_reset.xml [utf8] Wed Apr 22 16:02:22 2009
@@ -102,12 +102,15 @@
stool.setSelectionFor(\'entity_transaction_selection\', None)\n
stool.setSelectionFor(\'account_module_selection\', None)\n
\n
+# set sort order on account module\n
+stool.setSelectionParamsFor(\'account_module_selection\', dict()) # (this recreates selection)\n
+stool.setSelectionSortOrder(\'account_module_selection\', sort_on=((\'preferred_gap_id\', \'ascending\'),))\n
+\n
# delete the "dummy account" we create in test_account_gap_parallel_list_field\n
dummy_account_list = portal.account_module.searchFolder(\n
title=\'Dummy Account for UI Test\')\n
if dummy_account_list:\n
portal.account_module.manage_delObjects([dummy_account_list[0].getId()])\n
-\n
\n
return "Reset Successfully."\n
</string> </value>
@@ -163,6 +166,7 @@
<string>form</string>
<string>getattr</string>
<string>listbox</string>
+ <string>dict</string>
<string>dummy_account_list</string>
</tuple>
</value>
Modified: erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision?rev=26592&r1=26591&r2=26592&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision [utf8] Wed Apr 22 16:02:22 2009
@@ -1,1 +1,1 @@
-125
+126
More information about the Erp5-report
mailing list