def test_status_badge_covers_every_status(): """t() defaults to English outside a Streamlit runtime (see dashboard/i18n.py::t docstring), so the English label is what a pytest-run assertion can check.""" from dashboard.continuity_view import _status_badge labels = {"new": "New", "ongoing": "Ongoing", "escalated": "Escalated", "resolved": "Resolved", "stale": "Stale"} for status, label in labels.items(): html = _status_badge(status) assert "