test: add recorded ai generation smoke

This commit is contained in:
QiuSW
2026-07-02 13:58:34 +08:00
parent c0020e8d29
commit 2d9c233683
10 changed files with 236 additions and 18 deletions
+1
View File
@@ -58,6 +58,7 @@
| 创建后台管理员 | T-003 后执行 `py -3.12 manage.py createsuperuser` |
| 数据库迁移 | T-002 接入 MySQL 后执行 `makemigrations` / `migrate` |
| 导入 cmbot AI 模型配置 | `py -3.12 manage.py import_ai_models path\to\ai_models.json --create-default-aliases` |
| AI 生成 smoke(录制) | `py -3.12 manage.py smoke_ai_generation title --recorded` |
| 格式化 / 静态检查 | `ruff check .`(待定,确定后写死) |
统一入口仍是根目录 `./init.ps1`(Windows)或 `./init.sh`(Unix/WSL)。T-001 阶段只做框架检查,不跑迁移;T-002 接入 MySQL 与自定义 User 后再启用迁移路径。