[backend]将testdata/下的测例替换为了赛方测试用例,更新了测试脚本
This commit is contained in:
103
testdata/h_functional/23_json.in
vendored
Normal file
103
testdata/h_functional/23_json.in
vendored
Normal file
@@ -0,0 +1,103 @@
|
||||
{
|
||||
"code": 0,
|
||||
"message": "0",
|
||||
"ttl": 1,
|
||||
"data": {
|
||||
"bvid": "BV1MA4y1S7Mo",
|
||||
"aid": 896365036,
|
||||
"videos": 1,
|
||||
"tid": 30,
|
||||
"tname": "VOCALOID\u00b7UTAU",
|
||||
"copyright": 1,
|
||||
"pic": "http://i0.hdslb.com/bfs/archive/a288ee0f9c8725b19cd153df450a395890763615.jpg",
|
||||
"title": "\u3010\u661f\u5c18Infinity\u539f\u521b\u3011100%\u793e\u4ea4\u5931\u8d25\u8005",
|
||||
"pubdate": 1651813129,
|
||||
"ctime": 1651813129,
|
||||
"desc": "\u201c\u6211\u6709\u4e2a\u670b\u53cb\uff0c\u60f3\u8ba9\u6211\u5e2e\u4ed6\u5199\u4e00\u9996\u6b4c\u2026\u2026\u201d\n\u201c\u7b49\u7b49\uff0c\u4f60\u8bf4\u7684\u8fd9\u4e2a\u670b\u53cb\uff0c\u5230\u5e95\u662f\u4e0d\u662f\u4f60\u81ea\u5df1\uff1f\u201d\n\n100%\u793e\u4ea4\u5931\u8d25\u8005\n\u8bcd/\u66f2/\u7f16/\u8c03/\u6df7\uff1aMaxXing\n\u7b56\u5212/PV\uff1aMaxXing\n\u6b4c\uff1a\u661f\u5c18Infinity",
|
||||
"desc_v2": [
|
||||
{
|
||||
"raw_text": "\u201c\u6211\u6709\u4e2a\u670b\u53cb\uff0c\u60f3\u8ba9\u6211\u5e2e\u4ed6\u5199\u4e00\u9996\u6b4c\u2026\u2026\u201d\n\u201c\u7b49\u7b49\uff0c\u4f60\u8bf4\u7684\u8fd9\u4e2a\u670b\u53cb\uff0c\u5230\u5e95\u662f\u4e0d\u662f\u4f60\u81ea\u5df1\uff1f\u201d\n\n100%\u793e\u4ea4\u5931\u8d25\u8005\n\u8bcd/\u66f2/\u7f16/\u8c03/\u6df7\uff1aMaxXing\n\u7b56\u5212/PV\uff1aMaxXing\n\u6b4c\uff1a\u661f\u5c18Infinity",
|
||||
"type": 1,
|
||||
"biz_id": 0
|
||||
}
|
||||
],
|
||||
"state": 0,
|
||||
"duration": 193,
|
||||
"mission_id": 604767,
|
||||
"rights": {
|
||||
"bp": 0,
|
||||
"elec": 0,
|
||||
"download": 1,
|
||||
"movie": 0,
|
||||
"pay": 0,
|
||||
"hd5": 0,
|
||||
"no_reprint": 1,
|
||||
"autoplay": 1,
|
||||
"ugc_pay": 0,
|
||||
"is_cooperation": 0,
|
||||
"ugc_pay_preview": 0,
|
||||
"no_background": 0,
|
||||
"clean_mode": 0,
|
||||
"is_stein_gate": 0,
|
||||
"is_360": 0,
|
||||
"no_share": 0
|
||||
},
|
||||
"owner": {
|
||||
"mid": 295902,
|
||||
"name": "MaxXSoft",
|
||||
"face": "http://i0.hdslb.com/bfs/face/51a2b714fc41abac1bb7f42889744dab7b4ce9ed.jpg"
|
||||
},
|
||||
"stat": {
|
||||
"aid": 896365036,
|
||||
"view": 89002,
|
||||
"danmaku": 135,
|
||||
"reply": 412,
|
||||
"favorite": 9891,
|
||||
"coin": 4209,
|
||||
"share": 616,
|
||||
"now_rank": 0,
|
||||
"his_rank": 0,
|
||||
"like": 16396,
|
||||
"dislike": 0,
|
||||
"evaluation": "",
|
||||
"argue_msg": ""
|
||||
},
|
||||
"dynamic": "\u201c\u6211\u6709\u4e2a\u670b\u53cb\uff0c\u60f3\u8ba9\u6211\u5e2e\u4ed6\u5199\u4e00\u9996\u6b4c\u2026\u2026\u201d\n\u201c\u7b49\u7b49\uff0c\u4f60\u8bf4\u7684\u8fd9\u4e2a\u670b\u53cb\uff0c\u5230\u5e95\u662f\u4e0d\u662f\u4f60\u81ea\u5df1\uff1f\u201d",
|
||||
"cid": 713330344,
|
||||
"dimension": {
|
||||
"width": 2160,
|
||||
"height": 1080,
|
||||
"rotate": 0
|
||||
},
|
||||
"premiere": null,
|
||||
"teenage_mode": 0,
|
||||
"no_cache": false,
|
||||
"pages": [
|
||||
{
|
||||
"cid": 713330344,
|
||||
"page": 1,
|
||||
"from": "vupload",
|
||||
"part": "\u53ef\u662f\u6211\u4e5f\u60f3\u88ab\u4eba\u5173\u5fc3\u554a",
|
||||
"duration": 193,
|
||||
"vid": "",
|
||||
"weblink": "",
|
||||
"dimension": {
|
||||
"width": 2160,
|
||||
"height": 1080,
|
||||
"rotate": 0
|
||||
},
|
||||
"first_frame": "http://i0.hdslb.com/bfs/storyff/n220506qn1d4fa4bct60p41imqq4wutr_firsti.jpg"
|
||||
}
|
||||
],
|
||||
"subtitle": {
|
||||
"allow_submit": false,
|
||||
"list": []
|
||||
},
|
||||
"is_season_display": false,
|
||||
"user_garb": {
|
||||
"url_image_ani_cut": ""
|
||||
},
|
||||
"honor_reply": {}
|
||||
}
|
||||
}
|
||||
#
|
||||
Reference in New Issue
Block a user