diff --git a/src/reversion/tests.py b/src/reversion/tests.py index db0e23b4..03ad5e3d 100644 --- a/src/reversion/tests.py +++ b/src/reversion/tests.py @@ -103,6 +103,7 @@ def testRevisionAbandonedOnError(self): with reversion.revision: test.name = None test.save() + raise Exception() except: transaction.rollback() # Check that there is still only one revision.