format_coverage_report#

lsst.images.tests.format_coverage_report(report, *, schema=None)#

Render a coverage report as text.

Parameters:
  • report (CoverageReport) – The report to render.

  • schema (str | None, default: None) – Restrict the output to this schema name, or None for all of them.

Returns:

The rendered report, one block per schema.

Return type:

str

Notes

Absent paths are collapsed to the root of each absent subtree, and every sub-schema position is listed whether or not it has a gap: a position that reaches all its candidates is as much of an answer to “what does this fixture set cover?” as one that does not. A gap is marked gap rather than reported as an error, because a composite model is under no obligation to hold every candidate its schema admits.

This page was last modified on .