1
0
mirror of https://github.com/django/django.git synced 2025-03-12 18:30:48 +00:00

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

View File

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