Commit 28901968 authored by Julien Muchembled's avatar Julien Muchembled

Update testContributionRegistryTool in respect to new implementation of temp objects (r21530).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21599 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 434f3145
......@@ -62,8 +62,7 @@ class TestContributionRegistryTool(ERP5TypeTestCase):
##
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':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment