From f6d43a7917f0659519b8836dc548c7075c0ab71a Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Mon, 27 Feb 2012 14:19:17 +0100
Subject: [PATCH] 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.
---
 .../product/Vifib/tests/testVifibSlapComputerPartitionError.py  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/master/product/Vifib/tests/testVifibSlapComputerPartitionError.py b/master/product/Vifib/tests/testVifibSlapComputerPartitionError.py
index 201f74476..f0046552a 100644
--- a/master/product/Vifib/tests/testVifibSlapComputerPartitionError.py
+++ b/master/product/Vifib/tests/testVifibSlapComputerPartitionError.py
@@ -1,4 +1,5 @@
 from Products.ERP5Type.tests.Sequence import SequenceList
+from Products.ERP5Type.tests.backportUnittest import expectedFailure
 import unittest
 from testVifibSlapWebService import TestVifibSlapWebServiceMixin
 
@@ -36,6 +37,7 @@ 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
-- 
2.30.9