From 4c303a74c5f9a9a11aa9c13bdd45e9ecdd9d8a17 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Wed, 1 Sep 2010 11:30:30 +0000 Subject: [PATCH] Check that cash containers arrived at destination, not at source... git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38101 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../tests/testERP5BankingCashMovementNewNotEmitted.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py b/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py index cfbcaf320a..9a95a4eaeb 100644 --- a/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py +++ b/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py @@ -322,8 +322,8 @@ class TestERP5BankingCashMovementNewNotEmitted(TestERP5BankingMonetaryReceptionM """ 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): """ -- 2.30.9