Commit 722ead38 authored by Jérome Perrin's avatar Jérome Perrin

clear method must be called on the persistent mapping. This is the test error.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15319 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5c93fb06
...@@ -1686,7 +1686,7 @@ class TestAccounting(ERP5TypeTestCase): ...@@ -1686,7 +1686,7 @@ class TestAccounting(ERP5TypeTestCase):
""" """
# clear all existing ids in portal ids # clear all existing ids in portal ids
if hasattr(self.portal.portal_ids, 'dict_ids'): if hasattr(self.portal.portal_ids, 'dict_ids'):
self.portal.portal_ids.clear() self.portal.portal_ids.dict_ids.clear()
accounting_transaction = self.createAccountingTransaction() accounting_transaction = self.createAccountingTransaction()
self.portal.portal_workflow.doActionFor( self.portal.portal_workflow.doActionFor(
accounting_transaction, 'stop_action') accounting_transaction, 'stop_action')
......
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