[Erp5-report] r22287 - /erp5/trunk/products/ERP5/tests/testProductionOrder.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jul 4 18:56:20 CEST 2008


Author: luke
Date: Fri Jul  4 18:56:20 2008
New Revision: 22287

URL: http://svn.erp5.org?rev=22287&view=rev
Log:
 - set title on tests' supply chains

Modified:
    erp5/trunk/products/ERP5/tests/testProductionOrder.py

Modified: erp5/trunk/products/ERP5/tests/testProductionOrder.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testProductionOrder.py?rev=22287&r1=22286&r2=22287&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testProductionOrder.py (original)
+++ erp5/trunk/products/ERP5/tests/testProductionOrder.py Fri Jul  4 18:56:20 2008
@@ -204,7 +204,7 @@
     supply_chain = supply_chain_module.newContent( \
                                    portal_type=self.supply_chain_portal_type)
     supply_chain.edit(
-      title = "Supply Chain Test",
+      title = "Supply Chain Generic",
     )
     sequence.edit(supply_chain=supply_chain)
 
@@ -217,6 +217,9 @@
     self.stepCreateGenericSC(sequence=sequence, sequence_list=sequence_list,
                              **kw)
     supply_chain = sequence.get('supply_chain')
+    supply_chain.edit(
+      title = 'Supply Chain Production'
+    )
     # Create production node
     production_organisation  = sequence.get('production_organisation1')
     production_node = supply_chain.newContent(
@@ -791,6 +794,9 @@
     self.stepCreateProductionSC(sequence=sequence, sequence_list=sequence_list,
                                 **kw)
     supply_chain = sequence.get('supply_chain')
+    supply_chain.edit(
+      title = 'Supply Chain Sourcing',
+    )
     # Create supply node
     supply_organisation  = sequence.get('supply_organisation1')
     supply_node = supply_chain.newContent(
@@ -961,6 +967,9 @@
     self.stepCreateSourcingSC(sequence=sequence, sequence_list=sequence_list,
                               **kw)
     supply_chain = sequence.get('supply_chain')
+    supply_chain.edit(
+      title = 'Supply Chain Two Phases',
+    )
     # Create production node
     production_organisation2  = sequence.get('production_organisation2')
     production_node2 = supply_chain.newContent(




More information about the Erp5-report mailing list