--- a/server/test/data/schema.py Thu Jul 23 15:33:03 2009 +0200
+++ b/server/test/data/schema.py Thu Jul 23 15:57:15 2009 +0200
@@ -5,7 +5,6 @@
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
-from cubicweb.schema import format_constraint
class Affaire(WorkflowableEntityType):
permissions = {
@@ -20,10 +19,8 @@
constraints=[SizeConstraint(16)])
sujet = String(fulltextindexed=True,
constraints=[SizeConstraint(256)])
- descr_format = String(meta=True, internationalizable=True,
- default='text/rest', constraints=[format_constraint])
- descr = String(fulltextindexed=True,
- description=_('more detailed description'))
+ descr = RichString(fulltextindexed=True,
+ description=_('more detailed description'))
duration = Int()
invoiced = Int()