﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
34810	Calculate coverage on subprocesses such as django-admin commands	Jacob Walls	Jacob Walls	"Noticed during #34778 that despite good coverage for the django-admin commands in `tests/admin_scripts`, the coverage report suggests only 12% coverage for `django/core/management/templates.py`.

This is because using coverage.py to trace code launched by a subprocess (and not through multiprocessing) requires [https://coverage.readthedocs.io/en/stable/subprocess.html additional configuration], e.g. adding code to sitecustomize.py or creating a .pth file.

Perhaps we could look into creating a tempdir with a .pth file to run the needed coverage.py configuration while running tests."	Cleanup/optimization	closed	Core (Other)	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
