Commit ed3f2c35 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix 39006.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39048 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0c987466
...@@ -337,7 +337,7 @@ class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin): ...@@ -337,7 +337,7 @@ class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin):
incoming_counter = self.guichet_entrante.getRelativeUrl() incoming_counter = self.guichet_entrante.getRelativeUrl()
outgoing_counter = self.guichet_sortante.getRelativeUrl() outgoing_counter = self.guichet_sortante.getRelativeUrl()
banknote_5000 = self.billet_5000.getRelativeUrl() banknote_5000 = self.billet_5000.getRelativeUrl()
banknote_100 = self.billet_100.getRelativeUrl() coin_100 = self.piece_100.getRelativeUrl()
banknote_usd_20 = self.usd_billet_20.getRelativeUrl() banknote_usd_20 = self.usd_billet_20.getRelativeUrl()
self.assertEqual(getCurrentInventory(node=incoming_counter, self.assertEqual(getCurrentInventory(node=incoming_counter,
...@@ -345,9 +345,9 @@ class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin): ...@@ -345,9 +345,9 @@ class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin):
self.assertEqual(getFutureInventory(node=incoming_counter, self.assertEqual(getFutureInventory(node=incoming_counter,
resource=banknote_5000), 10.0) resource=banknote_5000), 10.0)
self.assertEqual(getCurrentInventory(node=incoming_counter, self.assertEqual(getCurrentInventory(node=incoming_counter,
resource=banknote_100), 200.0) resource=coin_100), 200.0)
self.assertEqual(getFutureInventory(node=incoming_counter, self.assertEqual(getFutureInventory(node=incoming_counter,
resource=banknote_100), 200.0) resource=coin_100), 200.0)
self.assertEqual(getCurrentInventory(node=outgoing_counter, self.assertEqual(getCurrentInventory(node=outgoing_counter,
resource=banknote_usd_20), 0.0) resource=banknote_usd_20), 0.0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment