Commit 9da18f03 authored by Julien Muchembled's avatar Julien Muchembled

Workaround for syntax highlighting bug in Kate

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30185 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 04fd9190
......@@ -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())
......
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