devtools/testlib.py
branchstable
changeset 6469 82cf41ae8b89
parent 6441 adbce42ff1b5
child 6470 8936b6786fb9
child 6585 9af22f2c0c4c
--- a/devtools/testlib.py	Mon Oct 11 13:40:18 2010 +0200
+++ b/devtools/testlib.py	Wed Oct 13 08:37:09 2010 +0200
@@ -910,6 +910,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()