Commit 7a848b54 authored by Łukasz Nowak's avatar Łukasz Nowak

Test is non sense in new code.

Instance Setup delivery is immediately delivered.
parent 4918dabb
from Products.ERP5Type.tests.Sequence import SequenceList
from Products.ERP5Type.tests.backportUnittest import expectedFailure
import unittest
from testVifibSlapWebService import TestVifibSlapWebServiceMixin
......@@ -38,35 +37,6 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self)
@expectedFailure
def test_ComputerPartition_error_SetupResource_CancelledState(self):
"""
Check that calling ComputerPartition.error works in
cancelled state with the setup resource
"""
sequence_list = SequenceList()
sequence_string = self.prepare_install_requested_computer_partition_sequence_string + '\
LoginDefaultUser \
SelectCurrentlyUsedSalePackingListUid \
CancelSalePackingList \
Tic \
Logout \
\
SlapLoginCurrentComputer \
CheckSuccessComputerPartitionErrorCall \
Tic \
SlapLogout \
\
LoginDefaultUser \
CheckSalePackingListErrorText \
Logout \
LoginERP5TypeTestCase \
CheckSiteConsistency \
Logout \
'
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self)
def test_ComputerPartition_error_SetupResource_ConfirmedState(self):
"""
Check that calling ComputerPartition.error works in
......
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