Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
85de4b05
Commit
85de4b05
authored
Jun 14, 2011
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use different getters for different modules.
parent
f1718af0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
product/ERP5Banking/tests/TestERP5BankingMixin.py
product/ERP5Banking/tests/TestERP5BankingMixin.py
+3
-0
product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py
...Banking/tests/testERP5BankingCashMovementNewNotEmitted.py
+1
-1
No files found.
product/ERP5Banking/tests/TestERP5BankingMixin.py
View file @
85de4b05
...
@@ -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
):
...
...
product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py
View file @
85de4b05
...
@@ -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
.
getCashMovement
NewNotEmitted
Module
()
self
.
monetary_reception_module
=
self
.
getMonetaryReceptionModule
()
self
.
monetary_reception_module
=
self
.
getMonetaryReceptionModule
()
self
.
createManagerAndLogin
()
self
.
createManagerAndLogin
()
self
.
current_date
=
DateTime
()
self
.
current_date
=
DateTime
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment