Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
107
Merge Requests
107
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
718fb677
Commit
718fb677
authored
Feb 17, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pay accouting transaction to request
parent
1ff04c0e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
10 deletions
+12
-10
master/product/Vifib/tests/testVifibDefaultUseCase.py
master/product/Vifib/tests/testVifibDefaultUseCase.py
+0
-10
master/product/Vifib/tests/testVifibSlapBug.py
master/product/Vifib/tests/testVifibSlapBug.py
+2
-0
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+10
-0
No files found.
master/product/Vifib/tests/testVifibDefaultUseCase.py
View file @
718fb677
...
...
@@ -172,16 +172,6 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
self
.
assertEquals
(
'account_module/bank'
,
sale_line
.
getDestination
())
self
.
assertEquals
(
'sale_trade_condition_module/vifib_trade_condition'
,
sale_line
.
getSpecialise
())
def
stepPayRegistrationPayment
(
self
,
sequence
,
**
kw
):
"""
"""
payment
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
"Payment Transaction"
,
simulation_state
=
"planned"
)
payment
.
confirm
()
payment
.
start
()
payment
.
stop
()
def
stepCheckPaidRegistrationAccounting
(
self
,
sequence
,
**
kw
):
"""
"""
...
...
master/product/Vifib/tests/testVifibSlapBug.py
View file @
718fb677
...
...
@@ -1548,6 +1548,8 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
TriggerBuild
Tic
PayRegistrationPayment
Tic
Logout
LoginWebUser
...
...
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
718fb677
...
...
@@ -859,6 +859,16 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
finally
:
setSecurityManager
(
sm
)
def
stepPayRegistrationPayment
(
self
,
sequence
,
**
kw
):
"""
"""
payment
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
"Payment Transaction"
,
simulation_state
=
"planned"
)
payment
.
confirm
()
payment
.
start
()
payment
.
stop
()
########################################
# Steps -- REMOTE_USER logins
########################################
...
...
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