[Erp5-report] r7554 - /erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed May 31 16:15:45 CEST 2006
Author: aurel
Date: Wed May 31 16:15:44 2006
New Revision: 7554
URL: http://svn.erp5.org?rev=7554&view=rev
Log:
remove uneeded check and twice check
Modified:
erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py?rev=7554&r1=7553&r2=7554&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py Wed May 31 16:15:44 2006
@@ -370,8 +370,6 @@
"""
Confirm the cash transfer and check it
"""
-# import pdb
-# pdb.set_trace()
# fix amount (10000 * 5.0 + 200 * 12.0)
self.monetary_survey.setSourceTotalAssetPrice('52400.0')
# do the Workflow action
@@ -382,10 +380,6 @@
state = self.monetary_survey.getSimulationState()
# check state is confirmed
self.assertEqual(state, 'confirmed')
- # get workflow history
- workflow_history = self.workflow_tool.getInfoFor(ob=self.monetary_survey, name='history', wf_id='monetary_survey_workflow')
- # check len of workflow history is 4
- self.assertEqual(len(workflow_history), 4)
def stepCheckSourceDebitPlanned(self, sequence=None, sequence_list=None, **kwd):
@@ -431,8 +425,6 @@
self.assertEqual(state, 'delivered')
# get workflow history
workflow_history = self.workflow_tool.getInfoFor(ob=self.monetary_survey, name='history', wf_id='monetary_survey_workflow')
- # check len of len workflow history is 6
- self.assertEqual(len(workflow_history), 6)
def stepCheckSourceDebit(self, sequence=None, sequence_list=None, **kwd):
@@ -480,7 +472,6 @@
+ 'DelInvalidLine Tic CheckTotal ' \
+ 'ConfirmMonetarySurvey ' \
+ 'CheckSourceDebitPlanned CheckDestinationCreditPlanned ' \
- + 'CheckSourceDebitPlanned CheckDestinationCreditPlanned ' \
+ 'DeliverMonetarySurvey ' \
+ 'CheckSourceDebit CheckDestinationCredit '
sequence_list.addSequenceString(sequence_string)
More information about the Erp5-report
mailing list