Commit 637eaa89 authored by Łukasz Nowak's avatar Łukasz Nowak

Show support of many packing lists.

When user requested installation of software and later its destruction system
will support case of old client (which will install or just start installation)
and new client (which will delete).
parent 5cfc571e
......@@ -46,6 +46,45 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self)
def test_Computer_available_SetupResource_ConfirmedState_CleanupResource_ConfirmedState(self):
sequence_list = SequenceList()
sequence_string = self.prepare_software_release_purchase_packing_list + '\
LoginDefaultUser \
SetCurrentPurchasePackingListAsA \
Logout \
SlapLoginCurrentComputer \
CheckSuccessComputerGetSoftwareReleaseListCall \
SlapLogout ' + self.prepare_software_release_cleanup_confirmed_packing_list + '\
LoginDefaultUser \
SetCurrentPurchasePackingListAsB \
Logout \
SlapLoginCurrentComputer \
CheckSuccessComputerGetSoftwareReleaseListCall \
CheckDestroyedStateGetSoftwareReleaseListCall \
CheckSuccessSoftwareReleaseAvailableCall \
Tic \
SlapLogout \
LoginDefaultUser \
CheckStoppedPurchasePackingListA \
CheckConfirmedPurchasePackingListB \
Logout \
SlapLoginCurrentComputer \
CheckSuccessComputerGetSoftwareReleaseListCall \
CheckDestroyedStateGetSoftwareReleaseListCall \
CheckSuccessSoftwareReleaseDestroyedCall \
Tic \
SlapLogout \
LoginDefaultUser \
CheckDeliveredPurchasePackingListA \
CheckDeliveredPurchasePackingListB \
Logout \
LoginERP5TypeTestCase \
CheckSiteConsistency \
Logout \
'
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self)
def test_SoftwareRelease_available_CleanupResource_ConfirmedState(self):
sequence_list = SequenceList()
sequence_string = self.prepare_software_release_cleanup_purchase_packing_list + '\
......
......@@ -46,6 +46,45 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self)
def test_Computer_building_SetupResource_ConfirmedState_CleanupResource_ConfirmedState(self):
sequence_list = SequenceList()
sequence_string = self.prepare_software_release_purchase_packing_list + '\
LoginDefaultUser \
SetCurrentPurchasePackingListAsA \
Logout \
SlapLoginCurrentComputer \
CheckSuccessComputerGetSoftwareReleaseListCall \
SlapLogout ' + self.prepare_software_release_cleanup_confirmed_packing_list + '\
LoginDefaultUser \
SetCurrentPurchasePackingListAsB \
Logout \
SlapLoginCurrentComputer \
CheckSuccessComputerGetSoftwareReleaseListCall \
CheckDestroyedStateGetSoftwareReleaseListCall \
CheckSuccessSoftwareReleaseBuildingCall \
Tic \
SlapLogout \
LoginDefaultUser \
CheckStartedPurchasePackingListA \
CheckConfirmedPurchasePackingListB \
Logout \
SlapLoginCurrentComputer \
CheckSuccessComputerGetSoftwareReleaseListCall \
CheckDestroyedStateGetSoftwareReleaseListCall \
CheckSuccessSoftwareReleaseDestroyedCall \
Tic \
SlapLogout \
LoginDefaultUser \
CheckDeliveredPurchasePackingListA \
CheckDeliveredPurchasePackingListB \
Logout \
LoginERP5TypeTestCase \
CheckSiteConsistency \
Logout \
'
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self)
def test_SoftwareRelease_building_CleanupResource_ConfirmedState(self):
sequence_list = SequenceList()
sequence_string = self.prepare_software_release_cleanup_purchase_packing_list + '\
......
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