[Erp5-report] r45122 luke - /erp5/trunk/products/ERP5/tests/testBusinessTemplate.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Apr 6 10:59:41 CEST 2011
Author: luke
Date: Wed Apr 6 10:59:40 2011
New Revision: 45122
URL: http://svn.erp5.org?rev=45122&view=rev
Log:
- custom another workflow chain is being removed from BT5, not custom workflow
Modified:
erp5/trunk/products/ERP5/tests/testBusinessTemplate.py
Modified: erp5/trunk/products/ERP5/tests/testBusinessTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testBusinessTemplate.py?rev=45122&r1=45121&r2=45122&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testBusinessTemplate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testBusinessTemplate.py [utf8] Wed Apr 6 10:59:40 2011
@@ -5966,22 +5966,6 @@ class TestBusinessTemplate(ERP5TypeTestC
self.assertSameSet(cbt['Geek Object'],
('geek_workflow', 'custom_geek_workflow'))
- def stepCheckAnotherWorkflowChain(self, sequence=None,
- sequence_list=None, **kw):
- """
- Check original workflow chain
- """
- present = 0
- pw = self.getWorkflowTool()
- cbt = pw._chains_by_type
- if cbt is not None:
- for id, wf_ids in cbt.items():
- if id == "Geek Object":
- present = 1
- self.assertEqual(present, 1)
- self.assertSameSet(cbt['Geek Object'],
- ('geek_workflow', 'custom_another_workflow'))
-
def stepCheckOriginalWorkflowChain(self, sequence=None,
sequence_list=None, **kw):
"""
@@ -6192,8 +6176,8 @@ class TestBusinessTemplate(ERP5TypeTestC
"""Check that chains are correctly removed during update
When previous business template defined that object is associated
- with workflows A, B, C and that new one says that only A and C
- associations are required check that after installing only A and C
+ with workflows A, B, C and that new one says that only A and B
+ associations are required check that after installing only A and B
will be on workflow chains."""
sequence_list = SequenceList()
sequence_string = '\
@@ -6273,7 +6257,7 @@ class TestBusinessTemplate(ERP5TypeTestC
UseImportBusinessTemplate \
InstallBusinessTemplate \
Tic \
- CheckAnotherWorkflowChain \
+ CheckWorkflowChain \
CheckWorkflowChainExists \
'
sequence_list.addSequenceString(sequence_string)
More information about the Erp5-report
mailing list