Files
AstrBot/tests/dashboard/test_cron.py
LIghtJUNction daee102c07 test: comprehensive import smoke tests for all dashboard routes
Coverage now includes:
session_management, config, knowledge_base, live_chat, persona,
tools, chat, conversation, open_api, backup, skills, t2i, cron,
plugin, chatui_project, stat, server, auth, subagent, update,
log, command
2026-04-29 08:19:38 +08:00

17 lines
461 B
Python

"""Import smoke tests for the cron route module.
Verifies that the ``CronRoute`` class from ``cron.py`` can be imported without
errors.
"""
# ---------------------------------------------------------------------------
# cron.py — CronRoute
# ---------------------------------------------------------------------------
from astrbot.dashboard.routes.cron import (
CronRoute, # noqa: F401
)
def test_cron_route_class():
assert CronRoute is not None