[Erp5-report] r12866 - /erp5/trunk/products/ERP5/tests/testAmount.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Feb 19 10:29:47 CET 2007
Author: romain
Date: Mon Feb 19 10:29:45 2007
New Revision: 12866
URL: http://svn.erp5.org?rev=12866&view=rev
Log:
Fix object creation in wrong container.
Modified:
erp5/trunk/products/ERP5/tests/testAmount.py
Modified: erp5/trunk/products/ERP5/tests/testAmount.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testAmount.py?rev=12866&r1=12865&r2=12866&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAmount.py (original)
+++ erp5/trunk/products/ERP5/tests/testAmount.py Mon Feb 19 10:29:45 2007
@@ -112,7 +112,7 @@
module = portal.getDefaultModule(self.amount_parent_portal_type)
amount_parent = module.newContent(
portal_type=self.amount_parent_portal_type)
- amount = module.newContent(
+ amount = amount_parent.newContent(
portal_type=self.amount_portal_type)
sequence.edit(
amount=amount,
More information about the Erp5-report
mailing list