server/test/unittest_undo.py
changeset 8266 704dda5c07f7
parent 8265 9747ab9230ad
child 8483 4ba11607d84a
--- a/server/test/unittest_undo.py	Mon Feb 27 09:43:15 2012 +0100
+++ b/server/test/unittest_undo.py	Mon Feb 27 09:45:48 2012 +0100
@@ -80,12 +80,14 @@
         self.assertEqual(a1.action, 'C')
         self.assertEqual(a1.eid, self.toto.eid)
         self.assertEqual(a1.etype,'CWUser')
+        self.assertEqual(a1.ertype, 'CWUser')
         self.assertEqual(a1.changes, None)
         self.assertEqual(a1.public, True)
         self.assertEqual(a1.order, 1)
         a4 = actions[3]
         self.assertEqual(a4.action, 'A')
         self.assertEqual(a4.rtype, 'in_group')
+        self.assertEqual(a4.ertype, 'in_group')
         self.assertEqual(a4.eid_from, self.toto.eid)
         self.assertEqual(a4.eid_to, self.toto.in_group[0].eid)
         self.assertEqual(a4.order, 4)