Kaydet (Commit) 69a803a8 authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

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
üst a9b4f2a4
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment