mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #32602 -- Clarified wording of TestCase class.
This commit is contained in:
parent
e99c7d8847
commit
f4e72e6523
7 changed files with 26 additions and 23 deletions
|
@ -1477,12 +1477,12 @@ override this by passing the desired number of processes, e.g.
|
|||
variable.
|
||||
|
||||
Django distributes test cases — :class:`unittest.TestCase` subclasses — to
|
||||
subprocesses. If there are fewer test cases than configured processes, Django
|
||||
will reduce the number of processes accordingly.
|
||||
subprocesses. If there are fewer test case classes than configured processes,
|
||||
Django will reduce the number of processes accordingly.
|
||||
|
||||
Each process gets its own database. You must ensure that different test cases
|
||||
don't access the same resources. For instance, test cases that touch the
|
||||
filesystem should create a temporary directory for their own use.
|
||||
Each process gets its own database. You must ensure that different test case
|
||||
classes don't access the same resources. For instance, test case classes that
|
||||
touch the filesystem should create a temporary directory for their own use.
|
||||
|
||||
.. note::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue