[Erp5-report] r13695 - /erp5/trunk/products/ERP5Banking/tests/
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 27 11:10:18 CEST 2007
Author: aurel
Date: Tue Mar 27 11:10:17 2007
New Revision: 13695
URL: http://svn.erp5.org?rev=13695&view=rev
Log:
set source reference on document
Modified:
erp5/trunk/products/ERP5Banking/tests/testERP5BankingDestructionSurvey.py
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingDestructionSurvey.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingDestructionSurvey.py?rev=13695&r1=13694&r2=13695&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingDestructionSurvey.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingDestructionSurvey.py Tue Mar 27 11:10:17 2007
@@ -171,9 +171,14 @@
source_value=self.cash,
description='test',
destination_value=self.counter,
- source_total_asset_price=52400.0)
- # execute tic
- self.stepTic()
+ source_total_asset_price=52400.0,)
+ # execute tic
+ self.stepTic()
+ # set source reference
+ self.setDocumentSourceReference(self.destruction_survey)
+ # check source reference
+ self.assertNotEqual(self.destruction_survey.getSourceReference(), '')
+ self.assertNotEqual(self.destruction_survey.getSourceReference(), None)
# check we have only one cash transfer
self.assertEqual(len(self.destruction_survey_module.objectValues()), 1)
# get the cash transfer document
More information about the Erp5-report
mailing list