web/test/data/schema.py
branchstable
changeset 9179 570208f74a84
parent 7059 1d65b235549f
child 9213 312062f53981
--- a/web/test/data/schema.py	Mon Jul 22 12:07:46 2013 +0200
+++ b/web/test/data/schema.py	Wed Jul 24 08:43:16 2013 +0200
@@ -24,7 +24,8 @@
 from yams.constraints import IntervalBoundConstraint
 
 class Salesterm(EntityType):
-    described_by_test = SubjectRelation('File', cardinality='1*', composite='subject')
+    described_by_test = SubjectRelation('File', cardinality='1*',
+                                        composite='subject', inlined=True)
     amount = Int(constraints=[IntervalBoundConstraint(0, 100)])
     reason = String(maxsize=20, vocabulary=[u'canceled', u'sold'])