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
Xavier Thompson
slapos.core
Commits
2257678a
Commit
2257678a
authored
Sep 26, 2012
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getId now raises if instance is not allocated yet
parent
f316edc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+9
-4
No files found.
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
2257678a
...
@@ -2093,10 +2093,15 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -2093,10 +2093,15 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
requested_slap_computer_partition
=
slap_computer_partition
.
request
(
**
kw
)
requested_slap_computer_partition
=
slap_computer_partition
.
request
(
**
kw
)
self
.
stepTic
()
self
.
stepTic
()
sequence
.
edit
(
try
:
requested_slap_computer_partition
=
requested_slap_computer_partition
,
requested_slap_computer_partition
.
getId
()
requested_computer_partition_reference
=
\
except
slap
.
ResourceNotReady
:
requested_slap_computer_partition
.
getId
())
pass
else
:
sequence
.
edit
(
requested_slap_computer_partition
=
requested_slap_computer_partition
,
requested_computer_partition_reference
=
\
requested_slap_computer_partition
.
getId
())
def
_stepSetSoftwareInstanceChildren
(
self
,
sequence
,
source_reference
):
def
_stepSetSoftwareInstanceChildren
(
self
,
sequence
,
source_reference
):
software_instance_uid
=
sequence
[
'root_software_instance_uid'
]
software_instance_uid
=
sequence
[
'root_software_instance_uid'
]
...
...
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