devtools/testlib.py
changeset 6470 8936b6786fb9
parent 6454 97203d0af4cb
parent 6469 82cf41ae8b89
child 6524 eca20b012104
--- a/devtools/testlib.py	Wed Oct 13 08:36:38 2010 +0200
+++ b/devtools/testlib.py	Wed Oct 13 08:37:21 2010 +0200
@@ -914,6 +914,7 @@
             except ValidationError, ex:
                 # failed to satisfy some constraint
                 print 'error in automatic db population', ex
+                self.session.commit_state = None # reset uncommitable flag
         self.post_populate(cu)
         self.commit()