Commit bf29c650 authored by liguangyu06's avatar liguangyu06
Browse files

优化

parent 311bee21
......@@ -34,7 +34,7 @@ random_demand = random.randint(0, len(result["data"]["list"]) - 1)
# 获取需求单信息
demand_parent_code = result["data"]["list"][random_demand]["demandParentCode"]
proof_sign = result["data"]["list"][random_demand]["proofSign"]
print(proof_sign)
# 第三步在需求单列表进行需求单查询操作
url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url36")
request_body = commonFuc().get_business_data(module, "payload36", demand_parent_code)
......@@ -61,6 +61,6 @@ if proof_sign:
else:
# 获取预期结果
check_dict = commonFuc().get_business_data(module, "checkDict36_1")
# print(check_dict)
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