mirror of
https://github.com/django/django.git
synced 2025-01-18 14:24:39 +00:00
070cbac0db
* Revert "Reverted "Fixed #33213 -- Doc'd testing code coverage in parallel and used it."" This reverts commit 78da5ca0c1f2ab3201f8f6cd629e80d805ea023d. * Restored coverage multiprocess concurrency with threads Investigating https://github.com/nedbat/coveragepy/issues/1585 revealed that thread tracing gets disabled when passing `concurrency = multiprocessing`. Adding `thread` restores it, and ensures that the `auser()` is reported as covered since the test suite uses `AsyncToSync` to execute this middleware (which spawns threads).
17 lines
259 B
INI
17 lines
259 B
INI
[run]
|
|
branch = True
|
|
concurrency = multiprocessing,thread
|
|
data_file = .coverages/.coverage
|
|
omit =
|
|
*/django/utils/autoreload.py
|
|
source = django
|
|
|
|
[report]
|
|
ignore_errors = True
|
|
omit =
|
|
*/django/conf/locale/*
|
|
*/tests/*
|
|
|
|
[html]
|
|
directory = coverage_html
|