def line_with_unit_test_summary(line, report_type="pycov"):
    """Check if the given string represents unit test summary."""
    return report_type == "pycov" and line.startswith("TOTAL      ") and line.endswith("%")