use maxsize stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 23 Sep 2009 18:21:37 +0200
branchstable
changeset 3442 1df034d5b6ec
parent 3441 bdeb91e08278
child 3443 34e451da9b5d
use maxsize
test/data/rewrite/schema.py
--- a/test/data/rewrite/schema.py	Wed Sep 23 16:33:29 2009 +0200
+++ b/test/data/rewrite/schema.py	Wed Sep 23 18:21:37 2009 +0200
@@ -9,8 +9,7 @@
         'update': ('managers', 'owners', ERQLExpression('X in_state S, S name in ("pitetre", "en cours")')),
         'delete': ('managers', 'owners', ERQLExpression('X concerne S, S owned_by U')),
         }
-    ref = String(fulltextindexed=True, indexed=True,
-                 constraints=[SizeConstraint(16)])
+    ref = String(fulltextindexed=True, indexed=True, maxsize=16)
     documented_by = SubjectRelation('Card')
     concerne = SubjectRelation(('Societe', 'Note'))