Skip to content

Commit 92d6a39

Browse files
committed
improve wording
1 parent 09618ac commit 92d6a39

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_atomic_requests.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,12 @@ def setUp(self):
6262
def tearDown(self):
6363
connections.databases['default']['ATOMIC_REQUESTS'] = False
6464

65-
def test_error_rollback_transaction(self):
65+
def test_generic_exception_delegate_transaction_management(self):
6666
"""
6767
Transaction is eventually managed by outer-most transaction atomic
6868
block. DRF do not try to interfere here.
69+
70+
We let django deal with the transaction when it will catch the Exception.
6971
"""
7072
request = factory.post('/')
7173
with self.assertNumQueries(3):

0 commit comments

Comments
 (0)