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
103
Merge Requests
103
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
1b69a7e6
Commit
1b69a7e6
authored
Aug 31, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start implemnetation of case with PayZen communication.
parent
d843ae04
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
2 deletions
+28
-2
master/bt5/vifib_erp5/TestTemplateItem/testVifibPayZen.py
master/bt5/vifib_erp5/TestTemplateItem/testVifibPayZen.py
+27
-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 @
1b69a7e6
...
@@ -149,8 +149,34 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin):
...
@@ -149,8 +149,34 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
def
stepCheckPlannedRegisteredPayment
(
self
,
sequence
):
self
.
assertEqual
(
sequence
[
'payment'
].
getSimulationState
(),
'confirmed'
)
self
.
assertEqual
(
self
.
portal
.
portal_catalog
.
countResults
(
portal_type
=
'Payzen Event'
,
default_destination_uid
=
sequence
[
'payment'
].
getUid
(),
limit
=
3
)[
0
][
0
],
2
)
raise
NotImplementedError
(
'Not finished checks.'
)
def
test_PaymentTransaction_updateStatus_planned_registered
(
self
):
def
test_PaymentTransaction_updateStatus_planned_registered
(
self
):
raise
NotImplementedError
sequence_list
=
SequenceList
()
sequence_string
=
self
.
register_new_user_sequence_string
+
'
\
LoginWebUser
\
CallStartPaymentOnPlannedPayment
\
CleanTic
\
Logout
\
LoginERP5TypeTestCase
\
CheckPaymentPage
\
CleanTic
\
CheckRelatedSystemEvent
\
Logout
\
LoginWebUser
\
CallUpdateStatusOnPlannedPayment
\
CleanTic
\
Logout
\
LoginERP5TypeTestCase
\
CheckPlannedRegisteredPayment
\
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
test_PaymentTransaction_updateStatus_confirmed_no_change
(
self
):
def
test_PaymentTransaction_updateStatus_confirmed_no_change
(
self
):
raise
NotImplementedError
raise
NotImplementedError
...
...
master/bt5/vifib_erp5/bt/revision
View file @
1b69a7e6
451
452
\ 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