Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Added in fix for wierd MySQL bug. Fixes issue etianen#18 https://gith…
Browse files Browse the repository at this point in the history
  • Loading branch information
etianen committed Nov 25, 2010
1 parent 249b686 commit b7f5c8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/reversion/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b7f5c8d

Please sign in to comment.