mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #33277 -- Disallowed database connections in threads in SimpleTestCase.
This commit is contained in:
parent
45f778eded
commit
8fb0be3500
3 changed files with 66 additions and 0 deletions
|
@ -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
|
||||
~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue