From 543eff6146b01f63002ce533f450a778fb18b0e9 Mon Sep 17 00:00:00 2001
From: Tatuya Kamada <tatuya@nexedi.com>
Date: Mon, 7 Nov 2011 15:42:58 +0900
Subject: [PATCH] Follow ConstraintMixin bug fix. Do not have to keep the bug
 behavior. The previous test is based on the wrong usage of asContext at
 ConstraintMixin.applyOnAccessorHolder. It was fixed at
 7634c00095c687670960e9bb4c742ec37e879f7e.

---
 product/ERP5Type/tests/testConstraint.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Type/tests/testConstraint.py b/product/ERP5Type/tests/testConstraint.py
index 6538a41b9e..22217efafe 100644
--- a/product/ERP5Type/tests/testConstraint.py
+++ b/product/ERP5Type/tests/testConstraint.py
@@ -1408,7 +1408,7 @@ class TestConstraint(PropertySheetTestCase):
     message = consistency_message_list[0]
     from Products.ERP5Type.ConsistencyMessage import ConsistencyMessage
     self.assertTrue(isinstance(message, ConsistencyMessage))
-    self.assertEquals(message.class_name, 'Temporary Attribute Equality Constraint')
+    self.assertEquals(message.class_name, 'Attribute Equality Constraint')
     obj.setTitle('a')
     self.assertEquals(obj.checkConsistency(), [])
 
-- 
2.30.9