Commit 543eff61 authored by Tatuya Kamada's avatar Tatuya Kamada

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 7634c000.
parent 75efb6a4
......@@ -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(), [])
......
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