Skip to content

Commit

Permalink
improve wording
Browse files Browse the repository at this point in the history
  • Loading branch information
ticosax committed Jun 2, 2015
1 parent 8ad3820 commit 34dc98e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_atomic_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,12 @@ def setUp(self):
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):
Expand Down

0 comments on commit 34dc98e

Please sign in to comment.