[Erp5-report] r10444 - /erp5/trunk/products/ERP5Banking/tests/
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Oct 1 18:58:13 CEST 2006
Author: seb
Date: Sun Oct 1 18:58:10 2006
New Revision: 10444
URL: http://svn.erp5.org?rev=10444&view=rev
Log:
fixed quantity_unit
Modified:
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py?rev=10444&r1=10443&r2=10444&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py Sun Oct 1 18:58:10 2006
@@ -81,11 +81,11 @@
need to be installed to run the test on.
"""
return ('erp5_base',
- 'baobab_unit_test',
+ 'erp5_trade',
+ 'erp5_accounting',
'erp5_banking_core',
'erp5_banking_inventory',
- 'currency_exchange_patch',
- 'erp5_banking_currency_purchase-0.1.bt5')
+ 'erp5_banking_cash')
def afterSetUp(self):
@@ -234,7 +234,7 @@
# chek the value of the banknote
self.assertEqual(self.valid_incoming_line.getPrice(), 20.0)
# check the unit of banknote
- self.assertEqual(self.valid_incoming_line.getQuantityUnit(), 'quantity_unit/unit')
+ self.assertEqual(self.valid_incoming_line.getQuantityUnit(), 'unit')
# check we have two delivery cells: (one for year 1992 and one for 2003)
self.assertEqual(len(self.valid_incoming_line.objectValues()), 1)
# now check for each variation (years 1992 and 2003)
More information about the Erp5-report
mailing list