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
Nicolas Wavrant
slapos.core
Commits
14ec2f88
Commit
14ec2f88
authored
Mar 21, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assert correct software instances.
parent
19a0f5df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
master/product/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
...oduct/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
+30
-0
No files found.
master/product/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
View file @
14ec2f88
...
@@ -490,6 +490,30 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -490,6 +490,30 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
def
stepStoreCurrentSoftwareInstanceBufferA
(
self
,
sequence
,
**
kw
):
sequence
.
edit
(
software_instance_uid_buffer_a
=
sequence
[
'software_instance_uid'
],
software_instance_reference_buffer_a
=
sequence
[
'software_instance_reference'
])
def
stepStoreCurrentSoftwareInstanceBufferB
(
self
,
sequence
,
**
kw
):
sequence
.
edit
(
software_instance_uid_buffer_b
=
sequence
[
'software_instance_uid'
],
software_instance_reference_buffer_b
=
sequence
[
'software_instance_reference'
])
def
stepRestoreCurrentSoftwareInstanceBufferA
(
self
,
sequence
,
**
kw
):
sequence
.
edit
(
software_instance_uid
=
sequence
[
'software_instance_uid_buffer_a'
],
software_instance_reference
=
sequence
[
'software_instance_reference_buffer_a'
])
def
stepRestoreCurrentSoftwareInstanceBufferB
(
self
,
sequence
,
**
kw
):
sequence
.
edit
(
software_instance_uid
=
sequence
[
'software_instance_uid_buffer_b'
],
software_instance_reference
=
sequence
[
'software_instance_reference_buffer_b'
])
def
test_SlaveInstance_call_destroy_from_SoftwareInstance
(
self
):
def
test_SlaveInstance_call_destroy_from_SoftwareInstance
(
self
):
"""
"""
Check that the Slave Instance will be stopped correctly when
Check that the Slave Instance will be stopped correctly when
...
@@ -497,6 +521,8 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -497,6 +521,8 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
"""
"""
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_started_computer_partition_sequence_string
+
"""
sequence_string
=
self
.
prepare_started_computer_partition_sequence_string
+
"""
StoreCurrentSoftwareInstanceBufferA
LoginTestVifibCustomer
LoginTestVifibCustomer
PersonRequestSlaveInstance
PersonRequestSlaveInstance
SlapLogout
SlapLogout
...
@@ -507,6 +533,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -507,6 +533,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
SoftwareInstanceAvailable
SoftwareInstanceAvailable
Tic
Tic
StoreCurrentSoftwareInstanceBufferB
RestoreCurrentSoftwareInstanceBufferA
LoginTestVifibCustomer
LoginTestVifibCustomer
RequestStopSoftwareInstanceFromCurrentComputerPartition
RequestStopSoftwareInstanceFromCurrentComputerPartition
Tic
Tic
...
...
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