diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2011-01-26 14:49:50 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2011-01-26 14:49:50 +0000 |
| commit | 69a803a8a66104ac9f64dd39fed657dd577c9776 (patch) | |
| tree | 90114a4ba5ea2767d87eee38f15f7e75962b2d01 /tests | |
| parent | a9b4f2a40043cdf8e61dce7e623028ba33ffd6af (diff) | |
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
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/fixtures_regress/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
