mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #32602 -- Clarified wording of TestCase class.
This commit is contained in:
committed by
Mariusz Felisiak
parent
e99c7d8847
commit
f4e72e6523
@@ -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::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user