From 9da18f03d3c94197e3198e19b5715a0e8befa792 Mon Sep 17 00:00:00 2001 From: Julien Muchembled <jm@nexedi.com> Date: Fri, 30 Oct 2009 18:17:24 +0000 Subject: [PATCH] Workaround for syntax highlighting bug in Kate git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30185 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/tests/testConstraint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5Type/tests/testConstraint.py b/product/ERP5Type/tests/testConstraint.py index 56f6aef657..f4d73c33a2 100644 --- a/product/ERP5Type/tests/testConstraint.py +++ b/product/ERP5Type/tests/testConstraint.py @@ -1196,7 +1196,7 @@ class TestConstraint(PropertySheetTestCase): self.assertEquals([], constraint.checkConsistency(obj)) # now add a 'local_property' property defined on a property sheet self._addProperty(obj.getPortalType(), - '''{'id': 'local_property', 'type': 'string'}''') + "{'id': 'local_property', 'type': 'string'}") constraint.fixConsistency(obj) self.assertEquals((), obj._local_properties) self.assertEquals('1', obj.getLocalProperty()) @@ -1216,7 +1216,7 @@ class TestConstraint(PropertySheetTestCase): #self.assertEquals([], constraint.checkConsistency(obj)) # now add a 'local_property' property defined on a property sheet self._addProperty(obj.getPortalType(), - '''{'id': 'local_property', 'type': 'float'}''') + "{'id': 'local_property', 'type': 'float'}") constraint.fixConsistency(obj) self.assertEquals((), obj._local_properties) self.assertEquals(1.234, obj.getLocalProperty()) -- 2.30.9