test/data/entities.py
changeset 3408 c92170fca813
parent 1977 606923dff11b
child 4252 6c4f109c2b03
--- a/test/data/entities.py	Wed Sep 23 11:10:38 2009 +0200
+++ b/test/data/entities.py	Wed Sep 23 11:13:39 2009 +0200
@@ -8,15 +8,15 @@
 from cubicweb.entities import AnyEntity, fetch_config
 
 class Societe(AnyEntity):
-    id = 'Societe'
+    __regid__ = 'Societe'
     fetch_attrs = ('nom',)
 
 class Personne(Societe):
     """customized class forne Person entities"""
-    id = 'Personne'
+    __regid__ = 'Personne'
     fetch_attrs, fetch_order = fetch_config(['nom', 'prenom'])
     rest_attr = 'nom'
 
 
 class Note(AnyEntity):
-    id = 'Note'
+    __regid__ = 'Note'