server/test/unittest_undo.py
changeset 8594 001159e2e4f3
parent 8556 bbe0d6985e59
child 8694 d901c36bcfce
--- a/server/test/unittest_undo.py	Fri Nov 09 15:27:40 2012 +0100
+++ b/server/test/unittest_undo.py	Fri Nov 16 11:41:38 2012 +0100
@@ -228,7 +228,7 @@
             "%s doesn't exist anymore." % g.eid])
         with self.assertRaises(ValidationError) as cm:
             self.commit()
-        cm.exception.tr(unicode)
+        cm.exception.translate(unicode)
         self.assertEqual(cm.exception.entity, self.toto.eid)
         self.assertEqual(cm.exception.errors,
                           {'in_group-subject': u'at least one relation in_group is '