# HG changeset patch # User Sylvain Thénault # Date 1286951841 -7200 # Node ID 8936b6786fb910548112b0378785ea36467e9e22 # Parent 40033d536ed8c82ed73fab67d342535eb2549e77# Parent 82cf41ae8b897c2f330de47531ba3e4564917b6d backport stable diff -r 40033d536ed8 -r 8936b6786fb9 devtools/testlib.py --- 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()