Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 69a803a8a66104ac9f64dd39fed657dd577c9776 1 parent a9b4f2a
Russell Keith-Magee authored January 26, 2011
1  tests/regressiontests/fixtures_regress/tests.py
@@ -611,6 +611,7 @@ def ticket_11101(self):
611 611
         transaction.rollback()
612 612
         self.assertEqual(Thingy.objects.count(), 0)
613 613
 
  614
+    @skipUnlessDBFeature('supports_transactions')
614 615
     def test_ticket_11101(self):
615 616
         """Test that fixtures can be rolled back (ticket #11101)."""
616 617
         ticket_11101 = transaction.commit_manually(self.ticket_11101)

0 notes on commit 69a803a

Please sign in to comment.
Something went wrong with that request. Please try again.