entities/test/unittest_base.py
changeset 11044 00c5ee272a6d
parent 10974 6557833657d6
equal deleted inserted replaced
11043:12db20aeda44 11044:00c5ee272a6d
   247             cnx.commit()
   247             cnx.commit()
   248             serializer = entity.cw_adapt_to('ISerializable')
   248             serializer = entity.cw_adapt_to('ISerializable')
   249             expected = {
   249             expected = {
   250                 'cw_etype': u'CWGroup',
   250                 'cw_etype': u'CWGroup',
   251                 'cw_source': 'system',
   251                 'cw_source': 'system',
       
   252                 'eid': entity.eid,
   252                 'cwuri': u'http://testing.fr/cubicweb/%s' % entity.eid,
   253                 'cwuri': u'http://testing.fr/cubicweb/%s' % entity.eid,
   253                 'creation_date': entity.creation_date,
   254                 'creation_date': entity.creation_date,
   254                 'modification_date': entity.modification_date,
   255                 'modification_date': entity.modification_date,
   255                 'name': u'tmp',
   256                 'name': u'tmp',
   256             }
   257             }