Fix PostgreSQL failing on a test

This commit is contained in:
Andrew Godwin 2012-09-24 13:55:37 +01:00
parent b6784bee66
commit a589fdff81
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ class SchemaTests(TestCase):
DatabaseError,
lambda: list(Author.objects.all()),
)
connection.rollback()
@skipUnless(connection.features.supports_foreign_keys, "No FK support")
def test_fk(self):