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
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
70ebae68
Commit
70ebae68
authored
Sep 22, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Share common step in mixin.
parent
1939781d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+2
-3
No files found.
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
70ebae68
...
@@ -3726,6 +3726,8 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -3726,6 +3726,8 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
def
stepSetDeliveryLineAmountEqualOne
(
self
,
sequence
):
def
stepSetDeliveryLineAmountEqualOne
(
self
,
sequence
):
sequence
.
edit
(
delivery_line_amount
=
1
)
sequence
.
edit
(
delivery_line_amount
=
1
)
def
stepSetRandomRequestedReference
(
self
,
sequence
,
**
kw
):
sequence
[
'requested_reference'
]
=
self
.
id
()
+
str
(
random
())
class
TestVifibSlapWebService
(
TestVifibSlapWebServiceMixin
):
class
TestVifibSlapWebService
(
TestVifibSlapWebServiceMixin
):
########################################
########################################
...
@@ -4634,9 +4636,6 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
...
@@ -4634,9 +4636,6 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
filter_kw
=
sequence
.
get
(
'requested_filter_dict'
,
{})
filter_kw
=
sequence
.
get
(
'requested_filter_dict'
,
{})
)
)
def
stepSetRandomRequestedReference
(
self
,
sequence
,
**
kw
):
sequence
[
'requested_reference'
]
=
self
.
id
()
+
str
(
random
())
def
stepSetCurrentPersonSlapRequestedSoftwareInstance
(
self
,
sequence
,
**
kw
):
def
stepSetCurrentPersonSlapRequestedSoftwareInstance
(
self
,
sequence
,
**
kw
):
software_instance_list
=
self
.
portal
.
portal_catalog
(
software_instance_list
=
self
.
portal
.
portal_catalog
(
portal_type
=
self
.
software_instance_portal_type
,
portal_type
=
self
.
software_instance_portal_type
,
...
...
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