[Erp5-report] r38101 vincent - /erp5/trunk/products/ERP5Banking/tests/

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Sep 1 13:30:31 CEST 2010


Author: vincent
Date: Wed Sep  1 13:30:30 2010
New Revision: 38101

URL: http://svn.erp5.org?rev=38101&view=rev
Log:
Check that cash containers arrived at destination, not at source...

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

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py?rev=38101&r1=38100&r2=38101&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py [utf8] Wed Sep  1 13:30:30 2010
@@ -322,8 +322,8 @@ class TestERP5BankingCashMovementNewNotE
     """
     Check cash container in item table
     """
-    self.assertEqual(len(self.simulation_tool.getCurrentTrackingList(at_date=self.current_date, node=self.reception.getRelativeUrl())), 2)
-    self.assertEqual(len(self.simulation_tool.getFutureTrackingList(at_date=self.current_date, node=self.reception.getRelativeUrl())), 2)
+    self.assertEqual(len(self.simulation_tool.getCurrentTrackingList(at_date=self.current_date, node=self.destination_site.getRelativeUrl())), 2)
+    self.assertEqual(len(self.simulation_tool.getFutureTrackingList(at_date=self.current_date, node=self.destination_site.getRelativeUrl())), 2)
 
   def test_01_ERP5BankingCashMovementNewNotEmitted(self, quiet=QUIET, run=RUN_ALL_TEST):
     """




More information about the Erp5-report mailing list