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 @@ -146,11 +146,12 @@ def _disable_native_migrations():
146
146
def db (request , _django_db_setup , _django_cursor_wrapper ):
147
147
"""Require a django test database
148
148
149
- This database will be setup with the default fixtures and will
150
- have the transaction management disabled. At the end of the test
151
- the transaction will be rolled back to undo any changes to the
152
- database. This is more limited than the ``transactional_db``
153
- resource but faster.
149
+ This database will be setup with the default fixtures and will have
150
+ the transaction management disabled. At the end of the test the outer
151
+ transaction that wraps the test itself will be rolled back to undo any
152
+ changes to the database (in case the backend supports transactions).
153
+ This is more limited than the ``transactional_db`` resource but
154
+ faster.
154
155
155
156
If both this and ``transactional_db`` are requested then the
156
157
database setup will behave as only ``transactional_db`` was
You can’t perform that action at this time.
0 commit comments