[Erp5-report] r30185 - /erp5/trunk/products/ERP5Type/tests/testConstraint.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Oct 30 19:17:24 CET 2009
Author: jm
Date: Fri Oct 30 19:17:24 2009
New Revision: 30185
URL: http://svn.erp5.org?rev=30185&view=rev
Log:
Workaround for syntax highlighting bug in Kate
Modified:
erp5/trunk/products/ERP5Type/tests/testConstraint.py
Modified: erp5/trunk/products/ERP5Type/tests/testConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/testConstraint.py?rev=30185&r1=30184&r2=30185&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/testConstraint.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/testConstraint.py [utf8] Fri Oct 30 19:17:24 2009
@@ -1196,7 +1196,7 @@
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 @@
#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())
More information about the Erp5-report
mailing list