Commit f6d43a79 authored by Romain Courteaud's avatar Romain Courteaud

Cancelled setup packing list are not supported for now.

ERP5Type_getSecurityCategoryFromAggregateMovementItemByComputerPartition has to
be splitted because Software Instance should only have at most one setup
packing list: it is not possible to migrate an Instance on another Partition!

The use case is: delete (rename) and create clone.
parent be09b706
from Products.ERP5Type.tests.Sequence import SequenceList from Products.ERP5Type.tests.Sequence import SequenceList
from Products.ERP5Type.tests.backportUnittest import expectedFailure
import unittest import unittest
from testVifibSlapWebService import TestVifibSlapWebServiceMixin from testVifibSlapWebService import TestVifibSlapWebServiceMixin
...@@ -36,6 +37,7 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin): ...@@ -36,6 +37,7 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self) sequence_list.play(self)
@expectedFailure
def test_ComputerPartition_error_SetupResource_CancelledState(self): def test_ComputerPartition_error_SetupResource_CancelledState(self):
""" """
Check that calling ComputerPartition.error works in 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