[Erp5-report] r20577 - /erp5/trunk/products/ERP5/tests/testInvoice.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Apr 16 17:05:31 CEST 2008
Author: jerome
Date: Wed Apr 16 17:05:31 2008
New Revision: 20577
URL: http://svn.erp5.org?rev=20577&view=rev
Log:
enable the check that price currency is copied into simulation
remove an useless immediate_reindex=1
Modified:
erp5/trunk/products/ERP5/tests/testInvoice.py
Modified: erp5/trunk/products/ERP5/tests/testInvoice.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testInvoice.py?rev=20577&r1=20576&r2=20577&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testInvoice.py (original)
+++ erp5/trunk/products/ERP5/tests/testInvoice.py Wed Apr 16 17:05:31 2008
@@ -101,8 +101,7 @@
if not cat in path.objectIds() :
path = path.newContent(
portal_type='Category',
- id=cat,
- immediate_reindex=1 )
+ id=cat,)
else:
path = path[cat]
# check categories have been created
@@ -1973,9 +1972,8 @@
invoice_transaction_applied_rule.contentValues()[0]
self.assertEquals(order_price_currency,
invoice_transaction_movement.getResource())
- # TODO: price currency have to be copied on simulation movements too
- # self.assertEquals(order_price_currency,
- # invoice_transaction_movement.getPriceCurrency())
+ self.assertEquals(order_price_currency,
+ invoice_transaction_movement.getPriceCurrency())
#class TestPurchaseInvoice(TestInvoice):
# order_portal_type = 'Purchase Order'
More information about the Erp5-report
mailing list