W6:变式自校验(verify)+严档(原题做对先换一道,变式做对才算)(267 测试)
This commit is contained in:
@@ -63,7 +63,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/wx-login", {"code": "demo"})
|
||||
tok = r["data"]["token"]
|
||||
|
||||
Reference in New Issue
Block a user