Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
slapos.core
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
Show 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):
...
@@ -172,16 +172,6 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
self
.
assertEquals
(
'account_module/bank'
,
sale_line
.
getDestination
())
self
.
assertEquals
(
'account_module/bank'
,
sale_line
.
getDestination
())
self
.
assertEquals
(
'sale_trade_condition_module/vifib_trade_condition'
,
sale_line
.
getSpecialise
())
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
):
def
stepCheckPaidRegistrationAccounting
(
self
,
sequence
,
**
kw
):
"""
"""
"""
"""
...
...
master/product/Vifib/tests/testVifibSlapBug.py
View file @
718fb677
...
@@ -1548,6 +1548,8 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1548,6 +1548,8 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Tic
TriggerBuild
TriggerBuild
Tic
Tic
PayRegistrationPayment
Tic
Logout
Logout
LoginWebUser
LoginWebUser
...
...
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
718fb677
...
@@ -859,6 +859,16 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -859,6 +859,16 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
finally
:
finally
:
setSecurityManager
(
sm
)
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
# 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