Commit 38538fae authored by liguangyu06's avatar liguangyu06
Browse files

用例优化

parent 520ac2b3
...@@ -51,8 +51,9 @@ request_body = group_json ...@@ -51,8 +51,9 @@ request_body = group_json
# 发送请求 # 发送请求
result = requests.post(url, json=request_body, headers=headers) result = requests.post(url, json=request_body, headers=headers)
result = json.loads(result.content) result = json.loads(result.content)
# print(result) print(result)
# 获取预期结果 # 获取预期结果
check_dict = commonFuc().get_business_data(module, "checkDict16") check_dict = commonFuc().get_business_data(module, "checkDict16")
# print(check_dict)
# 断言实际结果中是否包含预期结果的内容 # 断言实际结果中是否包含预期结果的内容
commonFuc().check_result(check_dict, result) commonFuc().check_result(check_dict, result)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment