From 69a803a8a66104ac9f64dd39fed657dd577c9776 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 26 Jan 2011 14:49:50 +0000 Subject: [PATCH] Made a transaction test optional unless transactions are supported. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15325 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/fixtures_regress/tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/regressiontests/fixtures_regress/tests.py b/tests/regressiontests/fixtures_regress/tests.py index 8e998e95ce..348a754d34 100644 --- a/tests/regressiontests/fixtures_regress/tests.py +++ b/tests/regressiontests/fixtures_regress/tests.py @@ -611,6 +611,7 @@ class TestTicket11101(TransactionTestCase): transaction.rollback() self.assertEqual(Thingy.objects.count(), 0) + @skipUnlessDBFeature('supports_transactions') def test_ticket_11101(self): """Test that fixtures can be rolled back (ticket #11101).""" ticket_11101 = transaction.commit_manually(self.ticket_11101)