[Erp5-report] r15319 - /erp5/trunk/products/ERP5/tests/testAccounting.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jul 26 09:22:09 CEST 2007


Author: jerome
Date: Thu Jul 26 09:22:08 2007
New Revision: 15319

URL: http://svn.erp5.org?rev=15319&view=rev
Log:
clear method must be called on the persistent mapping. This is the test error.

Modified:
    erp5/trunk/products/ERP5/tests/testAccounting.py

Modified: erp5/trunk/products/ERP5/tests/testAccounting.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testAccounting.py?rev=15319&r1=15318&r2=15319&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAccounting.py (original)
+++ erp5/trunk/products/ERP5/tests/testAccounting.py Thu Jul 26 09:22:08 2007
@@ -1686,7 +1686,7 @@
     """
     # clear all existing ids in portal 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()
     self.portal.portal_workflow.doActionFor(
           accounting_transaction, 'stop_action')




More information about the Erp5-report mailing list