--- a/test/data/entities.py Fri Apr 24 15:37:51 2009 +0200
+++ b/test/data/entities.py Fri Apr 24 15:38:11 2009 +0200
@@ -1,15 +1,15 @@
from cubicweb.entities import AnyEntity, fetch_config
-class Personne(AnyEntity):
+class Societe(AnyEntity):
+ id = 'Societe'
+ fetch_attrs = ('nom',)
+
+class Personne(Societe):
"""customized class forne Person entities"""
id = 'Personne'
fetch_attrs, fetch_order = fetch_config(['nom', 'prenom'])
rest_attr = 'nom'
-class Societe(AnyEntity):
- id = 'Societe'
- fetch_attrs = ('nom',)
-
class Note(AnyEntity):
id = 'Note'