Commit c8dc0b41 authored by Łukasz Nowak's avatar Łukasz Nowak

Stabilise and assert correct instance (slave)

parent 14ec2f88
...@@ -905,6 +905,12 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin): ...@@ -905,6 +905,12 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self) sequence_list.play(self)
def stepSetSoftwareInstanceAsCurrentRequestedSlave(self, sequence, **kw):
slave_instance = self.portal.portal_catalog.getResultValue(
uid=sequence['software_instance_uid']).getPredecessorValue(
portal_type='Slave Instance')
sequence['software_instance_uid'] = slave_instance.getUid()
def test_SlaveInstance_change_parameter_dict_after_request(self): def test_SlaveInstance_change_parameter_dict_after_request(self):
""" """
Check that request to change the parameter dict from a Slave Instance Check that request to change the parameter dict from a Slave Instance
...@@ -932,19 +938,26 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin): ...@@ -932,19 +938,26 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer SlapLoginCurrentComputer
SoftwareInstanceAvailable SoftwareInstanceAvailable
Tic Tic
SlapLogout
SlapLoginCurrentComputer
LoginDefaultUser LoginDefaultUser
StartSoftwareInstanceFromCurrentComputerPartition StartSoftwareInstanceFromCurrentComputerPartition
Logout
Tic Tic
Logout
SlapLoginCurrentSoftwareInstance
SoftwareInstanceStarted SoftwareInstanceStarted
Tic Tic
CheckEmptyComputerGetComputerPartitionCall CheckEmptyComputerGetComputerPartitionCall
SlapLogout SlapLogout
SlapLoginCurrentSoftwareInstance SlapLoginCurrentSoftwareInstance
SelectRequestedParameterDictRequestedParameter SelectRequestedParameterDictRequestedParameter
RequestSlaveInstanceFromComputerPartition RequestSlaveInstanceFromComputerPartition
Tic
SlapLogout SlapLogout
LoginDefaultUser LoginDefaultUser
SetSoftwareInstanceAsCurrentRequestedSlave
CheckComputerPartitionInstanceUpdateSalePackingListConfirmed CheckComputerPartitionInstanceUpdateSalePackingListConfirmed
Logout Logout
SlapLoginCurrentComputer SlapLoginCurrentComputer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment