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
Xiaowu Zhang
slapos.core
Commits
ca579dae
Commit
ca579dae
authored
4 years ago
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_subscription_request: Fix up test (argument was added)
parent
254a0599
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
master/bt5/slapos_subscription_request/TestTemplateItem/portal_components/test.erp5.testSlapOSSubscriptionSkins.py
...ortal_components/test.erp5.testSlapOSSubscriptionSkins.py
+2
-1
No files found.
master/bt5/slapos_subscription_request/TestTemplateItem/portal_components/test.erp5.testSlapOSSubscriptionSkins.py
View file @
ca579dae
...
@@ -245,7 +245,8 @@ class TestSubscriptionRequestModule_requestSubscription(TestSubscriptionSkinsMix
...
@@ -245,7 +245,8 @@ class TestSubscriptionRequestModule_requestSubscription(TestSubscriptionSkinsMix
name
=
"couscous"
)
name
=
"couscous"
)
expected_argument_tuple
=
((
'123@nexedi.com'
,
'subscription_reference'
),
expected_argument_tuple
=
((
'123@nexedi.com'
,
'subscription_reference'
),
{
'confirmation_required'
:
True
,
'user_input_dict'
:
{
'name'
:
"couscous"
,
'amount'
:
0
},
'target_language'
:
None
,
'batch_mode'
:
0
})
{
'confirmation_required'
:
True
,
'user_input_dict'
:
{
'name'
:
"couscous"
,
'amount'
:
0
},
'target_language'
:
None
,
'token'
:
None
,
'batch_mode'
:
0
})
self
.
assertEqual
(
expected_argument_tuple
,
module
.
SubscriptionRequestModule_requestSubscription
(
self
.
assertEqual
(
expected_argument_tuple
,
module
.
SubscriptionRequestModule_requestSubscription
(
REQUEST
=
self
.
portal
.
REQUEST
,
default_email_text
=
"123@nexedi.com"
,
REQUEST
=
self
.
portal
.
REQUEST
,
default_email_text
=
"123@nexedi.com"
,
...
...
This diff is collapsed.
Click to expand it.
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