B-4 逐条勾选:入库前把一块里的题摊开,只收勾上的(prepare 接口 + 弹窗,239 测试)

This commit is contained in:
2026-11-22 15:30:47 +08:00
parent 11a7f18b31
commit ef201ffacc
13 changed files with 305 additions and 15 deletions
+2 -1
View File
@@ -64,7 +64,7 @@ try:
st, r = call("GET", "/api/health")
check("health 200", st == 200, r)
check("routes=59", r["data"]["routes"] == 59, r["data"].get("routes"))
check("routes=60", r["data"]["routes"] == 60, r["data"].get("routes"))
st, r = call("POST", "/api/auth/sms-code", {"phone": "13800138000"})
check("发码 200", st == 200 and r["data"]["sent"] is True, r)
@@ -131,3 +131,4 @@ finally:
print()
print("通过 %d 项,失败 %d 项" % (sum(ok), len(ok) - sum(ok)))
sys.exit(0 if all(ok) else 1)