diff -r 3ecd114f6d75 -r 9bbf83f68bcc test/data/entities.py --- a/test/data/entities.py Thu Sep 22 09:56:20 2011 +0200 +++ b/test/data/entities.py Thu Sep 22 16:12:23 2011 +0200 @@ -1,4 +1,4 @@ -# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. +# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This file is part of CubicWeb. @@ -15,9 +15,7 @@ # # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . -""" -""" from cubicweb.entities import AnyEntity, fetch_config class Societe(AnyEntity): @@ -27,7 +25,7 @@ class Personne(Societe): """customized class forne Person entities""" __regid__ = 'Personne' - fetch_attrs, fetch_order = fetch_config(['nom', 'prenom']) + fetch_attrs, cw_fetch_order = fetch_config(['nom', 'prenom']) rest_attr = 'nom'