mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-16 01:40:15 +08:00
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
17 lines
461 B
Python
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
|