Initial commit

This commit is contained in:
Warezpeddler
2026-04-25 23:09:31 +01:00
commit 3325436017
92 changed files with 18397 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
"""Report theme mapping for markdown grouping."""
from applepy.reporters.report_themes import theme_for_category, themes_present_in_order
def test_theme_for_known_categories() -> None:
assert theme_for_category("Core") == "Core platform and controls"
assert theme_for_category("Compliance") == "Compliance and configuration baselines"
assert theme_for_category("MDM: Jamf") == "MDM local posture"
def test_theme_for_unknown_goes_to_other() -> None:
assert theme_for_category("CustomVendor") == "Other findings"
def test_themes_present_in_order_sorts() -> None:
got = themes_present_in_order({"Other findings", "Core platform and controls"})
assert got[0] == "Core platform and controls"
assert got[1] == "Other findings"