mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-17 01:49: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
468 B
Python
17 lines
468 B
Python
"""Import smoke tests for the T2I (text-to-image) route module.
|
|
|
|
Verifies that the ``T2iRoute`` class from ``t2i.py`` can be imported without
|
|
errors.
|
|
"""
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# t2i.py — T2iRoute
|
|
# ---------------------------------------------------------------------------
|
|
from astrbot.dashboard.routes.t2i import (
|
|
T2iRoute, # noqa: F401
|
|
)
|
|
|
|
|
|
def test_t2i_route_class():
|
|
assert T2iRoute is not None
|