# HG changeset patch # User Sylvain Thénault # Date 1253722897 -7200 # Node ID 1df034d5b6ec2f41f5e011cf39ed44c58bb61961 # Parent bdeb91e0827882feb314f71f78f20ac524c76841 use maxsize diff -r bdeb91e08278 -r 1df034d5b6ec 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'))