Commit 3a86cbf2 authored by 邓莹莹's avatar 邓莹莹

提交打印日志

parent caaae8f5
......@@ -15,11 +15,16 @@ class TestOrderProcess:
@pytest.mark.parametrize("param",order_process_data,ids=order_process_case)
def test_order_process(self,param):
preview_v1 = settlement_request().preview_v1(param["current_city_id"],param["service_item_id"],param["number"],param["use_platform_coupon"],param["use_doctor_coupon"],param["use_coupon_grey"],param["is_create_groupbuy"])
print("preview_v1返回结果",preview_v1)
actual_pay = preview_v1["data"]["pre_payment_total_price"]
print("actual_pay返回结果",actual_pay)
payment_final_price = preview_v1["data"]["payment_final_price"]
print("payment_final_price返回结果", payment_final_price)
number = preview_v1["data"]["services"][0]["number"]
print("number返回结果", number)
phone= preview_v1["data"]["phone"]
pay_v1 = settlement_request().pay_v1(actual_pay, payment_final_price, 0,0)
print("pay_v1返回结果", pay_v1)
use_point = 0
is_doctor_see = 0
is_create_groupbuy = 0
......
Markdown is supported
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