equal
deleted
inserted
replaced
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 } |