1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #33277 -- Disallowed database connections in threads in SimpleTestCase.

This commit is contained in:
David Wobrock
2023-12-23 23:05:05 +01:00
committed by Mariusz Felisiak
parent 45f778eded
commit 8fb0be3500
3 changed files with 66 additions and 0 deletions

View File

@@ -250,6 +250,9 @@ Tests
* The new :meth:`.SimpleTestCase.assertNotInHTML` assertion allows testing that
an HTML fragment is not contained in the given HTML haystack.
* In order to enforce test isolation, database connections inside threads are
no longer allowed in :class:`~django.test.SimpleTestCase`.
URLs
~~~~