fix test broken by previous commit
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 18 Jul 2011 16:37:11 +0200
changeset 7666 8644c2a065f0
parent 7665 0cd299c16f12
child 7667 600b407ae5c0
fix test broken by previous commit
server/test/unittest_repository.py
--- a/server/test/unittest_repository.py	Mon Jul 18 15:48:34 2011 +0200
+++ b/server/test/unittest_repository.py	Mon Jul 18 16:37:11 2011 +0200
@@ -293,7 +293,7 @@
         try:
             with self.assertRaises(Exception) as cm:
                 run_transaction()
-            self.assertEqual(str(cm.exception), 'try to access connections set on a closed session')
+            self.assertEqual(str(cm.exception), 'try to access connections set on a closed session %s' % cnxid)
         finally:
             t.join()