Files
hot_comment_radar/tests/unit/test_docs.py
T

25 lines
660 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
from pathlib import Path
ROOT = Path(__file__).resolve().parents[2]
def test_user_guide_covers_startup_acceptance_exports_and_troubleshooting():
content = (ROOT / "docs" / "UserGuide.md").read_text(encoding="utf-8")
for required in [
"docker compose up -d --build",
"http://localhost:8000",
"1 × 1 × 10",
"5 × 5 × 50",
"导出文件",
"8000 端口被占用",
"API Key 缺失",
"任务长期 running",
"重置本地数据库",
"公网云服务器部署",
"python -m app.demo_seed",
"data/corrupt-backups",
]:
assert required in content