Files
checkbot/tests/test_templates_compile.py
patrickandClaude Sonnet 5.5 347f55cf7c
test / pytest (3.11) (push) Waiting to run
test / pytest (3.13) (push) Waiting to run
feat: Phase 6c baseline, ack, host alarms, outage notice, send limit, privacy mode, UI link
Includes atomic migrations, per-rule reminder semantics, first-run helper script
and the note on the undecided UI chat idea.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 03:06:23 +01:00

15 lines
326 B
Python

import pytest
from app.web.deps import templates
NAMES = sorted(templates.env.list_templates())
def test_templates_are_found():
assert "base.html" in NAMES and "settings.html" in NAMES and len(NAMES) > 10
@pytest.mark.parametrize("name", NAMES)
def test_template_compiles(name):
templates.env.get_template(name)