server/test/data/schema.py
changeset 7236 b91205ada414
parent 7166 dde161937d3e
child 7238 576abb8c4626
--- a/server/test/data/schema.py	Wed Apr 20 08:28:52 2011 +0200
+++ b/server/test/data/schema.py	Fri Apr 15 16:05:20 2011 +0200
@@ -220,3 +220,15 @@
 class require_state(RelationDefinition):
     subject = 'CWPermission'
     object = 'State'
+
+class personne_composite(RelationDefinition):
+    subject='Personne'
+    object='Personne'
+    composite='subject'
+
+class personne_inlined(RelationDefinition):
+    subject='Personne'
+    object='Personne'
+    cardinality='?*'
+    inlined=True
+