test/data/schema.py
changeset 9217 b4ac21bf6019
parent 9214 be05b42b4825
child 9293 723e2c586ea3
child 9731 027bfc467a46
--- a/test/data/schema.py	Tue Jul 30 20:31:57 2013 +0200
+++ b/test/data/schema.py	Wed Aug 07 09:02:47 2013 +0200
@@ -44,6 +44,10 @@
     associe = SubjectRelation('Personne', cardinality='1*',
                               constraints=[RQLConstraint('S actionnaire SOC, O actionnaire SOC')])
 
+class Ami(EntityType):
+    """A Person, for which surname is not required"""
+    prenom = String()
+    nom = String()
 
 class Societe(EntityType):
     nom = String()