Commit 0de575ac authored by Łukasz Nowak's avatar Łukasz Nowak

Remove not needed objects.

parent e4c7092b
...@@ -1082,13 +1082,6 @@ class TestSlapOSPaymentTransactionBuilder(TestSlapOSSalePackingListBuilder): ...@@ -1082,13 +1082,6 @@ class TestSlapOSPaymentTransactionBuilder(TestSlapOSSalePackingListBuilder):
invoice_movement_2 = invoice_rule_2.newContent( invoice_movement_2 = invoice_rule_2.newContent(
portal_type='Simulation Movement' portal_type='Simulation Movement'
) )
trade_model_rule_2 = invoice_movement_2.newContent(
portal_type='Applied Rule',
specialise='portal_rules/slapos_trade_model_simulation_rule'
)
trade_movement_2 = trade_model_rule_2.newContent(
portal_type='Simulation Movement'
)
transaction_rule_1 = invoice_movement_1.newContent( transaction_rule_1 = invoice_movement_1.newContent(
portal_type='Applied Rule', portal_type='Applied Rule',
specialise='portal_rules/slapos_invoice_transaction_simulation_rule' specialise='portal_rules/slapos_invoice_transaction_simulation_rule'
...@@ -1100,9 +1093,6 @@ class TestSlapOSPaymentTransactionBuilder(TestSlapOSSalePackingListBuilder): ...@@ -1100,9 +1093,6 @@ class TestSlapOSPaymentTransactionBuilder(TestSlapOSSalePackingListBuilder):
delivery=invoice_1.newContent( delivery=invoice_1.newContent(
portal_type='Sale Invoice Transaction Line').getRelativeUrl() portal_type='Sale Invoice Transaction Line').getRelativeUrl()
) )
transaction_movement_1_sal = transaction_rule_1.newContent(
portal_type='Simulation Movement',
)
transation_model_rule_1 = trade_movement_1.newContent( transation_model_rule_1 = trade_movement_1.newContent(
portal_type='Applied Rule', portal_type='Applied Rule',
...@@ -1113,9 +1103,6 @@ class TestSlapOSPaymentTransactionBuilder(TestSlapOSSalePackingListBuilder): ...@@ -1113,9 +1103,6 @@ class TestSlapOSPaymentTransactionBuilder(TestSlapOSSalePackingListBuilder):
delivery=invoice_1.newContent( delivery=invoice_1.newContent(
portal_type='Sale Invoice Transaction Line').getRelativeUrl() portal_type='Sale Invoice Transaction Line').getRelativeUrl()
) )
transation_model_movement_1_sal = transation_model_rule_1.newContent(
portal_type='Simulation Movement',
)
transaction_rule_2 = invoice_movement_2.newContent( transaction_rule_2 = invoice_movement_2.newContent(
portal_type='Applied Rule', portal_type='Applied Rule',
...@@ -1128,9 +1115,6 @@ class TestSlapOSPaymentTransactionBuilder(TestSlapOSSalePackingListBuilder): ...@@ -1128,9 +1115,6 @@ class TestSlapOSPaymentTransactionBuilder(TestSlapOSSalePackingListBuilder):
delivery=invoice_2.newContent( delivery=invoice_2.newContent(
portal_type='Sale Invoice Transaction Line').getRelativeUrl() portal_type='Sale Invoice Transaction Line').getRelativeUrl()
) )
transaction_movement_2_sal = transaction_rule_2.newContent(
portal_type='Simulation Movement',
)
transation_model_rule_2 = invoice_movement_2.newContent( transation_model_rule_2 = invoice_movement_2.newContent(
portal_type='Applied Rule', portal_type='Applied Rule',
...@@ -1141,9 +1125,6 @@ class TestSlapOSPaymentTransactionBuilder(TestSlapOSSalePackingListBuilder): ...@@ -1141,9 +1125,6 @@ class TestSlapOSPaymentTransactionBuilder(TestSlapOSSalePackingListBuilder):
delivery=invoice_2.newContent( delivery=invoice_2.newContent(
portal_type='Sale Invoice Transaction Line').getRelativeUrl() portal_type='Sale Invoice Transaction Line').getRelativeUrl()
) )
transation_model_movement_2_sal = transation_model_rule_2.newContent(
portal_type='Simulation Movement',
)
# payment part of tree # payment part of tree
......
136 137
\ No newline at end of file \ No newline at end of file
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