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

- set title on tests' supply chains

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22287 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fe7d0706
...@@ -204,7 +204,7 @@ class TestProductionOrderMixin(TestOrderMixin): ...@@ -204,7 +204,7 @@ class TestProductionOrderMixin(TestOrderMixin):
supply_chain = supply_chain_module.newContent( \ supply_chain = supply_chain_module.newContent( \
portal_type=self.supply_chain_portal_type) portal_type=self.supply_chain_portal_type)
supply_chain.edit( supply_chain.edit(
title = "Supply Chain Test", title = "Supply Chain Generic",
) )
sequence.edit(supply_chain=supply_chain) sequence.edit(supply_chain=supply_chain)
...@@ -217,6 +217,9 @@ class TestProductionOrderMixin(TestOrderMixin): ...@@ -217,6 +217,9 @@ class TestProductionOrderMixin(TestOrderMixin):
self.stepCreateGenericSC(sequence=sequence, sequence_list=sequence_list, self.stepCreateGenericSC(sequence=sequence, sequence_list=sequence_list,
**kw) **kw)
supply_chain = sequence.get('supply_chain') supply_chain = sequence.get('supply_chain')
supply_chain.edit(
title = 'Supply Chain Production'
)
# Create production node # Create production node
production_organisation = sequence.get('production_organisation1') production_organisation = sequence.get('production_organisation1')
production_node = supply_chain.newContent( production_node = supply_chain.newContent(
...@@ -791,6 +794,9 @@ class TestProductionOrderMixin(TestOrderMixin): ...@@ -791,6 +794,9 @@ class TestProductionOrderMixin(TestOrderMixin):
self.stepCreateProductionSC(sequence=sequence, sequence_list=sequence_list, self.stepCreateProductionSC(sequence=sequence, sequence_list=sequence_list,
**kw) **kw)
supply_chain = sequence.get('supply_chain') supply_chain = sequence.get('supply_chain')
supply_chain.edit(
title = 'Supply Chain Sourcing',
)
# Create supply node # Create supply node
supply_organisation = sequence.get('supply_organisation1') supply_organisation = sequence.get('supply_organisation1')
supply_node = supply_chain.newContent( supply_node = supply_chain.newContent(
...@@ -961,6 +967,9 @@ class TestProductionOrderMixin(TestOrderMixin): ...@@ -961,6 +967,9 @@ class TestProductionOrderMixin(TestOrderMixin):
self.stepCreateSourcingSC(sequence=sequence, sequence_list=sequence_list, self.stepCreateSourcingSC(sequence=sequence, sequence_list=sequence_list,
**kw) **kw)
supply_chain = sequence.get('supply_chain') supply_chain = sequence.get('supply_chain')
supply_chain.edit(
title = 'Supply Chain Two Phases',
)
# Create production node # Create production node
production_organisation2 = sequence.get('production_organisation2') production_organisation2 = sequence.get('production_organisation2')
production_node2 = supply_chain.newContent( production_node2 = supply_chain.newContent(
......
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