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
104
Merge Requests
104
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
98cd93b5
Commit
98cd93b5
authored
Sep 02, 2011
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move more steps in the mixin.
parent
3ee2fcbd
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
363 additions
and
362 deletions
+363
-362
master/product/Vifib/tests/testVifibSlapComputerGetSoftwareReleaseList.py
...ifib/tests/testVifibSlapComputerGetSoftwareReleaseList.py
+0
-341
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
...duct/Vifib/tests/testVifibSlapComputerPartitionRequest.py
+0
-21
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+363
-0
No files found.
master/product/Vifib/tests/testVifibSlapComputerGetSoftwareReleaseList.py
View file @
98cd93b5
This diff is collapsed.
Click to expand it.
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
View file @
98cd93b5
...
@@ -95,17 +95,6 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -95,17 +95,6 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
def
stepSetCurrentSoftwareInstanceRequested
(
self
,
sequence
):
sequence
.
edit
(
requester_software_instance_uid
=
sequence
[
'software_instance_uid'
],
software_instance_uid
=
sequence
[
'requested_software_instance_uid'
],
)
def
stepSetCurrentSoftwareInstanceRequester
(
self
,
sequence
):
sequence
.
edit
(
software_instance_uid
=
sequence
[
'requester_software_instance_uid'
]
)
def
test_ComputerPartition_request_instantiate
(
self
):
def
test_ComputerPartition_request_instantiate
(
self
):
"""
"""
Check that after computer partition is requested it is possible to
Check that after computer partition is requested it is possible to
...
@@ -785,16 +774,6 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -785,16 +774,6 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
########################################
########################################
# ComputerPartition.request - filter - computer_guid
# ComputerPartition.request - filter - computer_guid
########################################
########################################
def
stepStoreComputerReference
(
self
,
sequence
):
sequence
[
'original_computer_reference'
]
=
sequence
[
'computer_reference'
]
def
stepRestoreComputerReference
(
self
,
sequence
):
sequence
[
'computer_reference'
]
=
sequence
[
'original_computer_reference'
]
def
stepSetRequestedFilterParameterDict
(
self
,
sequence
):
sequence
[
'requested_filter_dict'
]
=
dict
(
computer_guid
=
sequence
[
'computer_reference'
])
def
test_ComputerPartition_request_filter_computer_guid
(
self
):
def
test_ComputerPartition_request_filter_computer_guid
(
self
):
"""
"""
Check that requesting with filter computer_guid key works as expected
Check that requesting with filter computer_guid key works as expected
...
...
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
98cd93b5
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