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

Lines changed: 3 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy