Commit de1a5e0a authored by Jérome Perrin's avatar Jérome Perrin

minimal test for

AccountingTransactionModule_getPaySheetMovementMirrorSectionItemList


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23901 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c4e6c3d1
......@@ -1761,6 +1761,14 @@ class TestPayroll(TestPayrollMixin):
get_transaction().commit()
self.tic()
# AccountingTransactionModule_getPaySheetMovementMirrorSectionItemList is
# used in the report dialog to display possible organisations.
self.assertEquals(
[(other_provider.getTitle(), other_provider.getRelativeUrl()),
(provider.getTitle(), provider.getRelativeUrl())],
self.portal.accounting_module\
.AccountingTransactionModule_getPaySheetMovementMirrorSectionItemList())
# set request variables and render
request_form = self.portal.REQUEST
request_form['at_date'] = DateTime(2006, 2, 2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment