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:
committed by
Mariusz Felisiak
parent
45f778eded
commit
8fb0be3500
@@ -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
|
||||
~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user