diff -r 1d46c016a564 -r 576f4d51f826 web/test/data/schema/testschema.py --- a/web/test/data/schema/testschema.py Thu Jul 23 13:03:50 2009 +0200 +++ b/web/test/data/schema/testschema.py Thu Jul 23 14:09:16 2009 +0200 @@ -5,6 +5,11 @@ :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses """ + +from yams.buildobjs import (EntityType, RelationDefinition, RelationType, String, + Int, SubjectRelation) +from yams.constraints import IntervalBoundConstraint + class Salesterm(EntityType): described_by_test = SubjectRelation('File', cardinality='1*', composite='subject') amount = Int(constraints=[IntervalBoundConstraint(0, 100)])