[Erp5-report] r13036 - /erp5/trunk/products/ERP5Banking/tests/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 26 16:58:35 CET 2007


Author: vincent
Date: Mon Feb 26 16:58:34 2007
New Revision: 13036

URL: http://svn.erp5.org?rev=13036&view=rev
Log:
Remove workflow_history length checks, it makes impossible to implement tests based on this one without following strictly the same execution path.

Modified:
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py?rev=13036&r1=13035&r2=13036&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py Mon Feb 26 16:58:34 2007
@@ -295,7 +295,6 @@
                       self.checkbook_usual_cash_transfer, 'confirm_action', 
                       wf_id='checkbook_usual_cash_transfer_workflow')
     workflow_history = self.workflow_tool.getInfoFor(ob=self.checkbook_usual_cash_transfer, name='history', wf_id='checkbook_usual_cash_transfer_workflow')
-    self.assertEqual(len(workflow_history), 2)
 
   def stepConfirmCheckbookUsualCashTransfer(self, sequence=None, sequence_list=None, **kwd):
     """
@@ -306,7 +305,6 @@
     self.workflow_tool.doActionFor(self.checkbook_usual_cash_transfer, 'confirm_action', wf_id='checkbook_usual_cash_transfer_workflow')
     self.assertEqual(self.checkbook_usual_cash_transfer.getSimulationState(), 'confirmed')
     workflow_history = self.workflow_tool.getInfoFor(ob=self.checkbook_usual_cash_transfer, name='history', wf_id='checkbook_usual_cash_transfer_workflow')
-    self.assertEqual(len(workflow_history), 4)
  
   def stepChangeCheckbookUsualCashTransferStartDate(self, 
                sequence=None, sequence_list=None, **kw):
@@ -350,7 +348,6 @@
     # get workflow history
     workflow_history = self.workflow_tool.getInfoFor(ob=self.checkbook_usual_cash_transfer, 
                             name='history', wf_id='checkbook_usual_cash_transfer_workflow')
-    self.assertEqual(len(workflow_history), 6)
 
 
   def stepCheckFinalCheckbookInventory(self, sequence=None, sequence_list=None, **kw):




More information about the Erp5-report mailing list