[Erp5-report] r21599 - /erp5/trunk/products/ERP5/tests/testContributionRegistryTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jun 16 10:30:21 CEST 2008
Author: jm
Date: Mon Jun 16 10:30:18 2008
New Revision: 21599
URL: http://svn.erp5.org?rev=21599&view=rev
Log:
Update testContributionRegistryTool in respect to new implementation of temp objects (r21530).
Modified:
erp5/trunk/products/ERP5/tests/testContributionRegistryTool.py
Modified: erp5/trunk/products/ERP5/tests/testContributionRegistryTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testContributionRegistryTool.py?rev=21599&r1=21598&r2=21599&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testContributionRegistryTool.py (original)
+++ erp5/trunk/products/ERP5/tests/testContributionRegistryTool.py Mon Jun 16 10:30:18 2008
@@ -62,8 +62,7 @@
##
from Products.ERP5Type.Document import newTempEvent
-new_id = newTempEvent(context, 'subobject', data=context.getData())
-event = context[new_id]
+event = newTempEvent(context, 'subobject', data=context.getData())
subject = event.getContentInformation().get('Subject', None)
if subject == 'Fax':
More information about the Erp5-report
mailing list