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
Klaus Wölfel
slapos.core
Commits
d843ae04
Commit
d843ae04
authored
Aug 31, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cover another case.
parent
7990aa19
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
2 deletions
+23
-2
master/bt5/vifib_erp5/TestTemplateItem/testVifibPayZen.py
master/bt5/vifib_erp5/TestTemplateItem/testVifibPayZen.py
+22
-1
master/bt5/vifib_erp5/bt/revision
master/bt5/vifib_erp5/bt/revision
+1
-1
No files found.
master/bt5/vifib_erp5/TestTemplateItem/testVifibPayZen.py
View file @
d843ae04
...
@@ -110,6 +110,11 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin):
...
@@ -110,6 +110,11 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin):
finally
:
finally
:
self
.
changeSkin
(
current_skin
)
self
.
changeSkin
(
current_skin
)
def
stepCallUpdateStatusOnPlannedPayment
(
self
,
sequence
,
**
kw
):
sequence
[
'payment'
]
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
"Payment Transaction"
,
simulation_state
=
"planned"
)
sequence
[
'payment'
].
PaymentTransaction_updateStatus
()
def
test_AccountingTransaction_startPayment
(
self
):
def
test_AccountingTransaction_startPayment
(
self
):
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
.
register_new_user_sequence_string
+
'
\
sequence_string
=
self
.
register_new_user_sequence_string
+
'
\
...
@@ -125,8 +130,24 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin):
...
@@ -125,8 +130,24 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
def
stepCheckPlannedUnknownPayment
(
self
,
sequence
):
self
.
assertEqual
(
sequence
[
'payment'
].
getSimulationState
(),
'planned'
)
self
.
assertEqual
(
self
.
portal
.
portal_catalog
.
countResults
(
portal_type
=
'Payzen Event'
,
default_destination_uid
=
sequence
[
'payment'
].
getUid
(),
limit
=
1
)[
0
][
0
],
0
)
def
test_PaymentTransaction_updateStatus_planned_unknown
(
self
):
def
test_PaymentTransaction_updateStatus_planned_unknown
(
self
):
raise
NotImplementedError
sequence_list
=
SequenceList
()
sequence_string
=
self
.
register_new_user_sequence_string
+
'
\
LoginWebUser
\
CallUpdateStatusOnPlannedPayment
\
Tic
\
Logout
\
LoginERP5TypeTestCase
\
CheckPlannedUnknownPayment
\
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
test_PaymentTransaction_updateStatus_planned_registered
(
self
):
def
test_PaymentTransaction_updateStatus_planned_registered
(
self
):
raise
NotImplementedError
raise
NotImplementedError
...
...
master/bt5/vifib_erp5/bt/revision
View file @
d843ae04
450
451
\ No newline at end of file
\ No newline at end of file
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