author | Julien Cristau <julien.cristau@logilab.fr> |
Fri, 16 Jan 2015 14:12:49 +0100 | |
changeset 10210 | 633d85ba9f72 |
parent 10209 | 4c64a41c0a1d |
child 10211 | 59a77e8847bc |
--- a/server/test/unittest_undo.py Fri Jan 16 12:35:46 2015 +0100 +++ b/server/test/unittest_undo.py Fri Jan 16 14:12:49 2015 +0100 @@ -238,6 +238,8 @@ cnx.commit() p.cw_clear_all_caches() self.assertEqual(p.fiche[0].eid, c2.eid) + # we restored the card + self.assertTrue(cnx.entity_from_eid(c.eid)) def test_undo_deletion_integrity_2(self): with self.admin_access.client_cnx() as cnx: