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
8b0422dd
Commit
8b0422dd
authored
Aug 31, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify test code.
parent
1b69a7e6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
master/bt5/vifib_erp5/TestTemplateItem/testVifibPayZen.py
master/bt5/vifib_erp5/TestTemplateItem/testVifibPayZen.py
+2
-3
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 @
8b0422dd
...
@@ -19,7 +19,7 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin):
...
@@ -19,7 +19,7 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin):
# as there might be more because of running alarms
# as there might be more because of running alarms
event
=
self
.
portal
.
portal_catalog
(
event
=
self
.
portal
.
portal_catalog
(
portal_type
=
'Payzen Event'
,
portal_type
=
'Payzen Event'
,
title
=
'User navigation script for %s'
%
sequence
[
'payment'
].
getTitle
(),
default_destination_uid
=
sequence
[
'payment'
].
getUid
(),
limit
=
2
)
limit
=
2
)
self
.
assertEqual
(
1
,
len
(
event
))
self
.
assertEqual
(
1
,
len
(
event
))
event
=
event
[
0
]
event
=
event
[
0
]
...
@@ -120,11 +120,10 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin):
...
@@ -120,11 +120,10 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin):
sequence_string
=
self
.
register_new_user_sequence_string
+
'
\
sequence_string
=
self
.
register_new_user_sequence_string
+
'
\
LoginWebUser
\
LoginWebUser
\
CallStartPaymentOnPlannedPayment
\
CallStartPaymentOnPlannedPayment
\
Tic
\
Clean
Tic
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
CheckPaymentPage
\
CheckPaymentPage
\
Tic
\
CheckRelatedSystemEvent
\
CheckRelatedSystemEvent
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
...
...
master/bt5/vifib_erp5/bt/revision
View file @
8b0422dd
452
453
\ 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