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