Commit 11a2095b authored by Łukasz Nowak's avatar Łukasz Nowak

- formatting


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26846 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5172bba6
......@@ -317,7 +317,7 @@ class TestBPMMixin(ERP5TypeTestCase):
source_value=self.income_account,
destination_value=self.expense_account,
quantity=1)
itr.validate()
@reindex
......@@ -464,8 +464,10 @@ class TestBPMMixin(ERP5TypeTestCase):
aggregated_amount_list_list = [
(q.getResourceValue().getUse(), q)
for q in invoice.getSpecialiseValue().getAggregatedAmountList(invoice)]
invoice_line_tax = [q[1] for q in aggregated_amount_list_list if q[0] == 'tax'][0]
invoice_line_discount = [q[1] for q in aggregated_amount_list_list if q[0] == 'discount'][0]
invoice_line_tax = [q[1] for q in aggregated_amount_list_list
if q[0] == 'tax'][0]
invoice_line_discount = [q[1] for q in aggregated_amount_list_list
if q[0] == 'discount'][0]
movement_list = invoice.getMovementList(
portal_type=invoice.getPortalAccountingMovementTypeList())
......@@ -1401,7 +1403,8 @@ class TestBPMTestCases(TestBPMMixin):
resource_value = service_2)
self.assertSameSet(
[trade_condition_1_trade_model_line, trade_condition_2_trade_model_line],
[trade_condition_1_trade_model_line,
trade_condition_2_trade_model_line],
trade_condition_1.getTradeModelLineComposedList()
)
......@@ -1472,7 +1475,8 @@ class TestBPMTestCases(TestBPMMixin):
resource_value = service_2)
self.assertSameSet(
[trade_condition_1_trade_model_line, trade_condition_2_trade_model_line],
[trade_condition_1_trade_model_line,
trade_condition_2_trade_model_line],
trade_condition_1.getTradeModelLineComposedList()
)
......
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