changeset 8556 | bbe0d6985e59 |
parent 8495 | 0bc63e46bdb5 |
child 8594 | 001159e2e4f3 |
--- a/hooks/test/unittest_hooks.py Tue Sep 11 22:32:01 2012 +0200 +++ b/hooks/test/unittest_hooks.py Mon Sep 17 17:48:55 2012 +0200 @@ -170,6 +170,7 @@ try: self.execute('INSERT CWUser X: X login "admin"') except ValidationError, ex: + ex.tr(unicode) self.assertIsInstance(ex.entity, int) self.assertEqual(ex.errors, {'login-subject': 'the value "admin" is already used, use another one'})