[Erp5-report] r16107 - /erp5/trunk/products/ERP5Banking/tests/
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Sep 6 11:34:26 CEST 2007
Author: aurel
Date: Thu Sep 6 11:34:26 2007
New Revision: 16107
URL: http://svn.erp5.org?rev=16107&view=rev
Log:
fix use of date
Modified:
erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py?rev=16107&r1=16106&r2=16107&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py Thu Sep 6 11:34:26 2007
@@ -263,6 +263,7 @@
self.monetary_destruction = self.monetary_destruction_module.newContent(
id='monetary_destruction_1',
portal_type='Monetary Destruction',
+ start_date = DateTime().Date(),
source_value=self.source,
destination_value=None,
source_total_asset_price=110000.0,
@@ -301,6 +302,7 @@
id='monetary_destruction_1',
portal_type='Monetary Destruction',
source_value=self.source_for_externe,
+ start_date = DateTime().Date(),
destination_value=None,
source_total_asset_price=110000.0,
source_section_value=self.madrid)
@@ -739,7 +741,7 @@
Confirm the monetary_destruction and check it
"""
# do the Workflow action
- self.workflow_tool.doActionFor(self.monetary_destruction, 'confirm_action', wf_id='monetary_destruction_workflow', stop_date=DateTime())
+ self.workflow_tool.doActionFor(self.monetary_destruction, 'confirm_action', wf_id='monetary_destruction_workflow', stop_date=DateTime().Date())
# execute tic
self.stepTic()
# get state
More information about the Erp5-report
mailing list