Permalink
Browse files

Fix PostgreSQL failing on a test

  • Loading branch information...
1 parent b6784be commit a589fdff81ab36c57ff0a1003e60ee0dd55f3a88 @andrewgodwin andrewgodwin committed Sep 24, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/modeltests/schema/tests.py
View
1 tests/modeltests/schema/tests.py
@@ -119,6 +119,7 @@ def test_creation_deletion(self):
DatabaseError,
lambda: list(Author.objects.all()),
)
+ connection.rollback()
@skipUnless(connection.features.supports_foreign_keys, "No FK support")
def test_fk(self):

0 comments on commit a589fdf

Please sign in to comment.