Commit feef028e authored by liguangyu06's avatar liguangyu06
Browse files

用例优化

parent e8d91cb4
......@@ -66,7 +66,7 @@ api_time = float(result.elapsed.total_seconds())
# 获取植入附件下载状态
result = json.loads(result.content)
print(result)
# print(result)
# 增加判断,审核不通过的不支持附件下载
if result["success"]:
result = {"status": result["data"]["status"]}
......@@ -83,7 +83,7 @@ else:
result["api_time"] = api_time
# 获取预期结果
check_dict = commonFuc().get_business_data(module, "checkDict35_2", batchNumber)
check_dict = commonFuc().get_business_data(module, "checkDict350")
# print(check_dict)
# 断言实际结果中是否包含预期结果的内容
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