mirror of
https://github.com/django/django.git
synced 2025-09-28 21:14:55 +00:00
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
This commit is contained in:
parent
a9b4f2a400
commit
69a803a8a6
1 changed files with 1 additions and 0 deletions
|
@ -611,6 +611,7 @@ class TestTicket11101(TransactionTestCase):
|
||||||
transaction.rollback()
|
transaction.rollback()
|
||||||
self.assertEqual(Thingy.objects.count(), 0)
|
self.assertEqual(Thingy.objects.count(), 0)
|
||||||
|
|
||||||
|
@skipUnlessDBFeature('supports_transactions')
|
||||||
def test_ticket_11101(self):
|
def test_ticket_11101(self):
|
||||||
"""Test that fixtures can be rolled back (ticket #11101)."""
|
"""Test that fixtures can be rolled back (ticket #11101)."""
|
||||||
ticket_11101 = transaction.commit_manually(self.ticket_11101)
|
ticket_11101 = transaction.commit_manually(self.ticket_11101)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue