[Erp5-report] r10442 - /erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Oct 1 18:34:24 CEST 2006
Author: seb
Date: Sun Oct 1 18:34:21 2006
New Revision: 10442
URL: http://svn.erp5.org?rev=10442&view=rev
Log:
fixed the unit
Modified:
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py?rev=10442&r1=10441&r2=10442&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py Sun Oct 1 18:34:21 2006
@@ -267,7 +267,7 @@
# chek the value of the banknote
self.assertEqual(self.valid_line_1.getPrice(), 10000.0)
# check the unit of banknote
- self.assertEqual(self.valid_line_1.getQuantityUnit(), 'quantity_unit/unit')
+ self.assertEqual(self.valid_line_1.getQuantityUnit(), 'unit')
# check we have two delivery cells: (one for year 1992 and one for 2003)
self.assertEqual(len(self.valid_line_1.objectValues()), 2)
# now check for each variation (years 1992 and 2003)
@@ -327,7 +327,7 @@
# check the value of coin
self.assertEqual(self.valid_line_2.getPrice(), 200.0)
# check the unit of coin
- self.assertEqual(self.valid_line_2.getQuantityUnit(), 'quantity_unit/unit')
+ self.assertEqual(self.valid_line_2.getQuantityUnit(), 'unit')
# check we have two delivery cells: (one for year 1992 and one for 2003)
self.assertEqual(len(self.valid_line_2.objectValues()), 2)
for variation in self.variation_list:
More information about the Erp5-report
mailing list