Commit 447e9a29 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix indentation.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31798 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 092895d9
......@@ -691,7 +691,7 @@ class TestERP5BankingMixin(ERP5TypeTestCase):
ss.newContent(id='%s' %(country,), portal_type='Category', codification='', vault_type='site/caveau/%s' %(s.getId(),))
if 'devises' in ss.getId():
for currency in ['eur','usd']:
ss.newContent(id='%s' %(currency,), portal_type='Category', codification='', vault_type='site/caveau/%s' %(ss.getId(),))
ss.newContent(id='%s' %(currency,), portal_type='Category', codification='', vault_type='site/caveau/%s' %(ss.getId(),))
if 'encaisse_des_externes' in ss.getId():
ss.newContent(id='transit', portal_type='Category', codification='', vault_type='site/caveau/%s' %(s.getId(),))
#if ss.getId()=='encaisse_des_devises':
......
......@@ -480,8 +480,8 @@ class TestERP5BankingCashSorting(TestERP5BankingMixin):
for node, resource, quantity in [(self.encaisse_reserve.getRelativeUrl(), self.billet_10000.getRelativeUrl(), 5.0),
(self.encaisse_externe.getRelativeUrl(), self.billet_200.getRelativeUrl(), 12.0),
(self.encaisse_auxiliaire.getRelativeUrl(), self.billet_5000.getRelativeUrl(), 24.0)]:
self.assertEqual(self.simulation_tool.getCurrentInventory(node=node, resource=resource), 0.0)
self.assertEqual(self.simulation_tool.getFutureInventory(node=node, resource=resource), quantity)
self.assertEqual(self.simulation_tool.getCurrentInventory(node=node, resource=resource), 0.0)
self.assertEqual(self.simulation_tool.getFutureInventory(node=node, resource=resource), quantity)
def stepDeliverCashSorting(self, sequence=None, sequence_list=None, **kwd):
......@@ -511,8 +511,8 @@ class TestERP5BankingCashSorting(TestERP5BankingMixin):
for node, resource, quantity in [(self.encaisse_reserve.getRelativeUrl(), self.billet_10000.getRelativeUrl(), 5.0),
(self.encaisse_externe.getRelativeUrl(), self.billet_200.getRelativeUrl(), 12.0),
(self.encaisse_auxiliaire.getRelativeUrl(), self.billet_5000.getRelativeUrl(), 24.0)]:
self.assertEqual(self.simulation_tool.getCurrentInventory(node=node, resource=resource), quantity)
self.assertEqual(self.simulation_tool.getFutureInventory(node=node, resource=resource), quantity)
self.assertEqual(self.simulation_tool.getCurrentInventory(node=node, resource=resource), quantity)
self.assertEqual(self.simulation_tool.getFutureInventory(node=node, resource=resource), quantity)
def stepResetSourceInventory(self,
sequence=None, sequence_list=None, **kwd):
......
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