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
Carlos Ramos Carreño
slapos.core
Commits
563463d4
Commit
563463d4
authored
May 28, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Access hosting subscription from request
parent
eff42d53
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+4
-2
No files found.
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
563463d4
...
@@ -604,13 +604,15 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -604,13 +604,15 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
software_instance_portal_type
=
kw
.
get
(
"instance_portal_type"
,
software_instance_portal_type
=
kw
.
get
(
"instance_portal_type"
,
self
.
software_instance_portal_type
)
self
.
software_instance_portal_type
)
software_instance
=
self
.
portal
.
restrictedTraverse
(
software_instance
=
self
.
portal
.
un
restrictedTraverse
(
self
.
portal
.
REQUEST
.
get
(
'request_instance'
))
self
.
portal
.
REQUEST
.
get
(
'request_instance'
))
hosting_subscription
=
self
.
portal
.
unrestrictedTraverse
(
self
.
portal
.
REQUEST
.
get
(
'request_hosting_subscription'
))
sequence
.
edit
(
sequence
.
edit
(
root_software_instance_title
=
software_title
,
root_software_instance_title
=
software_title
,
software_instance_uid
=
software_instance
.
getUid
(),
software_instance_uid
=
software_instance
.
getUid
(),
software_instance_reference
=
software_instance
.
getReference
(),
software_instance_reference
=
software_instance
.
getReference
(),
hosting_subscription_uid
=
software_instance
.
getSpecialise
Uid
(),
hosting_subscription_uid
=
hosting_subscription
.
get
Uid
(),
)
)
def
stepSetComputerPartitionFromRootSoftwareInstance
(
self
,
sequence
):
def
stepSetComputerPartitionFromRootSoftwareInstance
(
self
,
sequence
):
...
...
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