refactor(constants): initialize LEAD_TEMPLATE_MAP as an empty dictionary

refactor(page): clean up import statements for better readability
fix(tests): update assertions for clarity and consistency
This commit is contained in:
Abhimanyu Saharan
2026-02-15 00:53:27 +05:30
parent 2084405593
commit a55664810c
5 changed files with 17 additions and 14 deletions

View File

@@ -11,9 +11,7 @@ TEMPLATES_DIR = Path(__file__).resolve().parents[1] / "templates"
def test_heartbeat_templates_fit_in_injected_context_limit() -> None:
"""Heartbeat templates must stay under gateway injected-context truncation limit."""
targets = (
"BOARD_HEARTBEAT.md.j2",
)
targets = ("BOARD_HEARTBEAT.md.j2",)
for name in targets:
size = (TEMPLATES_DIR / name).stat().st_size
assert (