summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2012-09-24 13:55:37 +0100
committerAndrew Godwin <andrew@aeracode.org>2012-09-24 13:55:37 +0100
commita589fdff81ab36c57ff0a1003e60ee0dd55f3a88 (patch)
tree10d5cc419e064f1569556ecc3cd36b91f4e3c638
parentb6784bee66d2c310318b6553fbb13f5707475efb (diff)
Fix PostgreSQL failing on a test
-rw-r--r--tests/modeltests/schema/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/modeltests/schema/tests.py b/tests/modeltests/schema/tests.py
index f679624538..6ac72b4c02 100644
--- a/tests/modeltests/schema/tests.py
+++ b/tests/modeltests/schema/tests.py
@@ -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):