changeset 10210 | 633d85ba9f72 |
parent 10207 | 5ec5d17b5e5b |
child 10260 | 0e61be7bff10 |
--- 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: