improve wording

This commit is contained in:
Nicolas Delaby 2015-04-29 16:29:09 +02:00
parent 8ad38208a1
commit 34dc98e8ad

View File

@ -62,10 +62,12 @@ class DBTransactionErrorTests(TestCase):
def tearDown(self):
connections.databases['default']['ATOMIC_REQUESTS'] = False
def test_error_rollback_transaction(self):
def test_generic_exception_delegate_transaction_management(self):
"""
Transaction is eventually managed by outer-most transaction atomic
block. DRF do not try to interfere here.
We let django deal with the transaction when it will catch the Exception.
"""
request = factory.post('/')
with self.assertNumQueries(3):