Commit 9eedba99 authored by Gabriel Monnerat's avatar Gabriel Monnerat

juntar os testes because the sequence of steps are the same. I will only join...

juntar os testes because the sequence of steps are the same. I will only join the steps to check the states of Sale Packing Lists because is only the part that is different.
parent 8356cc6f
......@@ -5081,7 +5081,7 @@ class TestVifibSlapWebService(testVifibMixin):
Logout
"""
def test_SlaveInstance_request_destroy_from_SoftwareInstance(self):
def test_SlaveInstance_call_destroy_from_SoftwareInstance(self):
"""
Check that the Slave Instance will be stopped correctly when
a Software Instance is destroyed
......@@ -5091,30 +5091,15 @@ class TestVifibSlapWebService(testVifibMixin):
LoginTestVifibCustomer
RequestDestroySoftwareInstanceFromCurrentComputerPartition
Tic
SlapLoginSoftwareInstanceFromCurrentSoftwareInstance
SoftwareInstanceDestroyed
Tic
SetDeliveryLineAmountEqualOne
CheckComputerPartitionInstanceHostingSalePackingListStopped
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
Logout
"""
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self)
CheckComputerPartitionInstanceCleanupSalePackingListConfirmed
def test_SlaveInstance_call_requestDestroy_from_SoftwareInstance(self):
"""
Check that the Slave Instance will be stopped correctly when
a Software Instance is destroyed
"""
sequence_list = SequenceList()
sequence_string = self.prepare_started_slave_instance_sequence_string + """
LoginTestVifibCustomer
RequestDestroySoftwareInstanceFromCurrentComputerPartition
SlapLoginSoftwareInstanceFromCurrentSoftwareInstance
SoftwareInstanceDestroyed
Tic
SetDeliveryLineAmountEqualOne
CheckComputerPartitionInstanceHostingSalePackingListStopped
CheckComputerPartitionInstanceCleanupSalePackingListConfirmed
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
Logout
"""
sequence_list.addSequenceString(sequence_string)
......
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