Browse files

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
  • Loading branch information...
1 parent a9b4f2a commit 69a803a8a66104ac9f64dd39fed657dd577c9776 @freakboy3742 freakboy3742 committed Jan 26, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/regressiontests/fixtures_regress/tests.py
View
1 tests/regressiontests/fixtures_regress/tests.py
@@ -611,6 +611,7 @@ def ticket_11101(self):
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)

0 comments on commit 69a803a

Please sign in to comment.