Commit e2deaae0 authored by 陈雪's avatar 陈雪

医生后台撤回部分

parents f72aee20 d44d2386
......@@ -30,4 +30,4 @@ class web2_request(BaseRequest):
if __name__ == '__main__':
print(web2_request().service_list("1", "10", "-1", "-1"))
print(web2_request().service_review_list("1", "10", "0"))
print(web2_request().servicereview_option("209989", "1", ""))
\ No newline at end of file
print(web2_request().servicereview_option("209989", "1", "PC8uTySuxipukIMuqNV1OPB376C2ZZ3g"))
\ No newline at end of file
......@@ -9,7 +9,7 @@ from in_common.base_request import BaseRequest
class TestServicereviewOption:
servicereview_option = BaseRequest().api_load(path_setting.SERVICEREVIEW_OPTION_DATA)
ServicereviewOption_case, ServicereviewOption_data = get_ids(servicereview_option, "servicereview_option")
ServicereviewOption_case, ServicereviewOption_data = get_ids(servicereview_option, "servicereview_option")
@pytest.mark.parametrize("params", ServicereviewOption_data, ids=ServicereviewOption_case)
def test_ServicereviewOption(self, params):
......
servicereview_option:
#有数据返回
-
case: "商品审核-撤回审核"
case: "商品审核-撤回审核"
id: "209989"
type: "1"
csrfmiddlewaretoken: "PC8uTySuxipukIMuqNV1OPB376C2ZZ3g"
assert: 0
\ No newline at end of file
assert: 0
-
case: "新商品审核-取消申请"
id: "209744"
type: "0"
csrfmiddlewaretoken: "PC8uTySuxipukIMuqNV1OPB376C2ZZ3g"
assert: 0
-
case: "商品修改审核-撤回审核"
id: "209866"
type: "1"
csrfmiddlewaretoken: "PC8uTySuxipukIMuqNV1OPB376C2ZZ3g"
assert: 0
-
case: "新商品审核-取消申请"
id: "209996"
type: "0"
csrfmiddlewaretoken: "PC8uTySuxipukIMuqNV1OPB376C2ZZ3g"
assert: 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