web/test/data/schema/testschema.py
branchstable
changeset 1836 d3f0c6e868ef
parent 1802 d628defebc17
child 1977 606923dff11b
--- a/web/test/data/schema/testschema.py	Mon May 18 10:54:48 2009 +0200
+++ b/web/test/data/schema/testschema.py	Mon May 18 11:50:43 2009 +0200
@@ -1,6 +1,7 @@
 class Salesterm(EntityType):
     described_by_test = SubjectRelation('File', cardinality='1*', composite='subject')
     amount = Int(constraints=[IntervalBoundConstraint(0, 100)])
+    reason = String(maxsize=20, vocabulary=[u'canceled', u'sold'])
 
 class tags(RelationDefinition):
     subject = 'Tag'