diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2012-09-24 13:55:37 +0100 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2012-09-24 13:55:37 +0100 |
| commit | a589fdff81ab36c57ff0a1003e60ee0dd55f3a88 (patch) | |
| tree | 10d5cc419e064f1569556ecc3cd36b91f4e3c638 /tests | |
| parent | b6784bee66d2c310318b6553fbb13f5707475efb (diff) | |
Fix PostgreSQL failing on a test
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/modeltests/schema/tests.py | 1 |
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): |
