Adding upstream version 1.4.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-15 09:34:27 +02:00
parent dc7df702ea
commit 7996c81031
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
166 changed files with 13787 additions and 11959 deletions

View file

@ -67,5 +67,6 @@ def test_csv(results: ResultManager, tmp_path: Path) -> None:
@pytest.mark.benchmark
@pytest.mark.dependency(depends=["anta_benchmark"], scope="package")
def test_markdown(results: ResultManager, tmp_path: Path) -> None:
"""Benchmark MDReportGenerator.generate()."""
MDReportGenerator.generate(results=results, md_filename=tmp_path / "report.md")
"""Benchmark MDReportGenerator.generate_sections()."""
sections = [(section, results) for section in MDReportGenerator.DEFAULT_SECTIONS]
MDReportGenerator.generate_sections(sections=sections, md_filename=tmp_path / "report.md")