test/data/entities.py
changeset 1977 606923dff11b
parent 1473 717dea3362c0
child 3408 c92170fca813
child 4212 ab6573088b4a
equal deleted inserted replaced
1976:851e08142873 1977:606923dff11b
       
     1 """
       
     2 
       
     3 :organization: Logilab
       
     4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
       
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
       
     6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
       
     7 """
     1 from cubicweb.entities import AnyEntity, fetch_config
     8 from cubicweb.entities import AnyEntity, fetch_config
     2 
     9 
     3 class Societe(AnyEntity):
    10 class Societe(AnyEntity):
     4     id = 'Societe'
    11     id = 'Societe'
     5     fetch_attrs = ('nom',)
    12     fetch_attrs = ('nom',)