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

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jul 25 18:34:24 CEST 2007


Author: seb
Date: Wed Jul 25 18:34:24 2007
New Revision: 15311

URL: http://svn.erp5.org?rev=15311&view=rev
Log:
many modificaitions related to the new default state and also to new checks on counters

Modified:
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookReception.py

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py?rev=15311&r1=15310&r2=15311&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py Wed Jul 25 18:34:24 2007
@@ -231,7 +231,7 @@
     """
     state = self.checkbook_delivery.getSimulationState()
     # check that state is draft
-    self.assertEqual(state, 'draft')
+    self.assertEqual(state, 'empty')
     self.workflow_tool.doActionFor(self.checkbook_delivery, 
                                    'deliver_action', 
                                    wf_id='checkbook_delivery_workflow')

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookReception.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookReception.py?rev=15311&r1=15310&r2=15311&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookReception.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookReception.py Wed Jul 25 18:34:24 2007
@@ -268,7 +268,7 @@
     """
     state = self.checkbook_reception.getSimulationState()
     # check that state is draft
-    self.assertEqual(state, 'draft')
+    self.assertEqual(state, 'empty')
     self.workflow_tool.doActionFor(self.checkbook_reception, 'confirm_action', wf_id='checkbook_reception_workflow')
     self.assertEqual(self.checkbook_reception.getSimulationState(), 'confirmed')
     workflow_history = self.workflow_tool.getInfoFor(ob=self.checkbook_reception, name='history', wf_id='checkbook_reception_workflow')




More information about the Erp5-report mailing list