W6:变式自校验(verify)+严档(原题做对先换一道,变式做对才算)(267 测试)

This commit is contained in:
dsh
2026-11-24 20:19:20 +08:00
parent 5fcbe086fd
commit dfc9656eb2
14 changed files with 371 additions and 12 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ try:
st, r = call("GET", "/api/health")
check("health 200", st == 200, r)
check("routes=61", r["data"]["routes"] == 61, r["data"].get("routes"))
check("routes=62", r["data"]["routes"] == 62, 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)