server/test/unittest_migractions.py
changeset 6417 d2361abe8505
parent 6370 8c3d6f739fa3
child 6427 c8a5ac2d1eaa
--- a/server/test/unittest_migractions.py	Fri Oct 08 11:11:09 2010 +0200
+++ b/server/test/unittest_migractions.py	Fri Oct 08 11:11:31 2010 +0200
@@ -141,6 +141,7 @@
             self.assertRaises(ValidationError,
                               self.mh.rqlexec,
                               'INSERT Note N: N unique_id "xyz"')
+            self.mh.rollback()
             # make sure the unique constraint is dropped
             self.mh.rqlexec('INSERT Note N: N unique_id "x"')
             self.mh.rqlexec('INSERT Note N: N unique_id "x"')