hooks/test/unittest_syncsession.py
changeset 8556 bbe0d6985e59
parent 7192 9e92c8558fea
child 8594 001159e2e4f3
--- a/hooks/test/unittest_syncsession.py	Tue Sep 11 22:32:01 2012 +0200
+++ b/hooks/test/unittest_syncsession.py	Mon Sep 17 17:48:55 2012 +0200
@@ -31,9 +31,11 @@
     def test_unexistant_cwproperty(self):
         with self.assertRaises(ValidationError) as cm:
             self.execute('INSERT CWProperty X: X pkey "bla.bla", X value "hop", X for_user U')
+        cm.exception.tr(unicode)
         self.assertEqual(cm.exception.errors, {'pkey-subject': 'unknown property key bla.bla'})
         with self.assertRaises(ValidationError) as cm:
             self.execute('INSERT CWProperty X: X pkey "bla.bla", X value "hop"')
+        cm.exception.tr(unicode)
         self.assertEqual(cm.exception.errors, {'pkey-subject': 'unknown property key bla.bla'})
 
     def test_site_wide_cwproperty(self):