File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -150,11 +150,12 @@ def _disable_native_migrations():
150
150
def db (request , _django_db_setup , _django_cursor_wrapper ):
151
151
"""Require a django test database
152
152
153
- This database will be setup with the default fixtures and will
154
- have the transaction management disabled. At the end of the test
155
- the transaction will be rolled back to undo any changes to the
156
- database. This is more limited than the ``transactional_db``
157
- resource but faster.
153
+ This database will be setup with the default fixtures and will have
154
+ the transaction management disabled. At the end of the test the outer
155
+ transaction that wraps the test itself will be rolled back to undo any
156
+ changes to the database (in case the backend supports transactions).
157
+ This is more limited than the ``transactional_db`` resource but
158
+ faster.
158
159
159
160
If both this and ``transactional_db`` are requested then the
160
161
database setup will behave as only ``transactional_db`` was
You can’t perform that action at this time.
0 commit comments