server/test/unittest_repository.py
branchstable
changeset 9267 24d9b86dfa54
parent 9226 653f1d4a1101
child 9395 96dba2efd16d
--- a/server/test/unittest_repository.py	Wed Oct 09 12:10:44 2013 +0200
+++ b/server/test/unittest_repository.py	Fri Aug 30 15:34:58 2013 +0200
@@ -137,7 +137,7 @@
             self.assertTrue(self.execute('Any X WHERE X is CWGroup, X name "toto"'))
             with self.assertRaises(QueryError) as cm:
                 self.commit()
-            self.assertEqual(str(cm.exception), 'transaction must be rollbacked')
+            self.assertEqual(str(cm.exception), 'transaction must be rolled back')
             self.rollback()
             self.assertFalse(self.execute('Any X WHERE X is CWGroup, X name "toto"'))
 
@@ -154,7 +154,7 @@
             self.assertTrue(self.execute('Any X WHERE X is CWGroup, X name "toto"'))
             with self.assertRaises(QueryError) as cm:
                 self.commit()
-            self.assertEqual(str(cm.exception), 'transaction must be rollbacked')
+            self.assertEqual(str(cm.exception), 'transaction must be rolled back')
             self.rollback()
             self.assertFalse(self.execute('Any X WHERE X is CWGroup, X name "toto"'))