Commit 379b4fe7 authored by Jérome Perrin's avatar Jérome Perrin

also test aht payment condition acquires source payment and destination payment.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21668 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6a96603e
...@@ -1487,6 +1487,10 @@ class TestPayroll(TestPayrollMixin): ...@@ -1487,6 +1487,10 @@ class TestPayroll(TestPayrollMixin):
self.assertEquals(employer, paysheet.getDestinationSectionValue()) self.assertEquals(employer, paysheet.getDestinationSectionValue())
self.assertEquals(employee_bank_account, paysheet.getSourcePaymentValue()) self.assertEquals(employee_bank_account, paysheet.getSourcePaymentValue())
self.assertEquals(employer_bank_account, paysheet.getDestinationPaymentValue()) self.assertEquals(employer_bank_account, paysheet.getDestinationPaymentValue())
self.assertEquals(employee_bank_account,
paysheet.getPaymentConditionSourcePaymentValue())
self.assertEquals(employer_bank_account,
paysheet.getPaymentConditionDestinationPaymentValue())
self.assertEquals(eur, paysheet.getResourceValue()) self.assertEquals(eur, paysheet.getResourceValue())
self.assertEquals(eur, paysheet.getPriceCurrencyValue()) self.assertEquals(eur, paysheet.getPriceCurrencyValue())
self.assertEquals(DateTime(2008, 1, 1), self.assertEquals(DateTime(2008, 1, 1),
......
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