Commit 85de4b05 authored by Vincent Pelletier's avatar Vincent Pelletier

Use different getters for different modules.

parent f1718af0
......@@ -229,6 +229,9 @@ class TestERP5BankingMixin(ERP5TypeTestCase):
return self.getPortal().counter_module
def getCashMovementModule(self):
return self.getPortal().cash_movement_module
def getCashMovementNewNotEmittedModule(self):
return self.getPortal().cash_movement_new_not_emitted_module
def getMonetaryReceptionModule(self):
......
......@@ -61,7 +61,7 @@ class TestERP5BankingCashMovementNewNotEmitted(TestERP5BankingMonetaryReceptionM
# Set some variables :
self.initDefaultVariable()
# the cahs transfer module
self.cash_movement_module = self.getCashMovementModule()
self.cash_movement_module = self.getCashMovementNewNotEmittedModule()
self.monetary_reception_module = self.getMonetaryReceptionModule()
self.createManagerAndLogin()
self.current_date = DateTime()
......
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