[Erp5-report] r12960 - /erp5/trunk/products/ERP5Banking/tests/testERP5BankingStopPayment.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 22 13:00:38 CET 2007


Author: seb
Date: Thu Feb 22 13:00:31 2007
New Revision: 12960

URL: http://svn.erp5.org?rev=12960&view=rev
Log:
we must also check available inventory

Modified:
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingStopPayment.py

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingStopPayment.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingStopPayment.py?rev=12960&r1=12959&r2=12960&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingStopPayment.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingStopPayment.py Thu Feb 22 13:00:31 2007
@@ -300,6 +300,9 @@
     self.assertEqual(self.simulation_tool.getCurrentInventory(
                      payment=self.bank_account_2.getRelativeUrl()
                      ,resource=self.currency_1.getRelativeUrl()), 100000)
+    self.assertEqual(self.simulation_tool.getAvailableInventory(
+                     payment=self.bank_account_2.getRelativeUrl()
+                     ,resource=self.currency_1.getRelativeUrl()), 80000)
     self.assertEqual(self.simulation_tool.getFutureInventory(
                      payment=self.bank_account_2.getRelativeUrl()
                      ,resource=self.currency_1.getRelativeUrl()), 80000)




More information about the Erp5-report mailing list