Commit 799ee096 authored by 陈雪's avatar 陈雪

发布商品

parent 0ad0ead6
...@@ -9,7 +9,7 @@ from in_common.base_request import BaseRequest ...@@ -9,7 +9,7 @@ from in_common.base_request import BaseRequest
class TestServiceList: class TestServiceList:
service_list = BaseRequest().api_load(path_setting.SERVICE_DATA) service_list = BaseRequest().api_load(path_setting.SERVICE_DATA)
ServiceList_case, ServiceList_data = get_ids(service_list, "service_list") ServiceList_case, ServiceList_data = get_ids(service_list, "service_list")
print("-----",service_list)
@pytest.mark.parametrize("params",ServiceList_data,ids=ServiceList_case) @pytest.mark.parametrize("params",ServiceList_data,ids=ServiceList_case)
def test_ServiceList(self,params): def test_ServiceList(self,params):
......
...@@ -16,7 +16,6 @@ class TestServiceReviewList: ...@@ -16,7 +16,6 @@ class TestServiceReviewList:
r = web2_request().service_review_list(params['page'], params['pagesize'], params['type']) r = web2_request().service_review_list(params['page'], params['pagesize'], params['type'])
print("--------",r) print("--------",r)
print("....")
if r["error"] == 0: if r["error"] == 0:
assert r["data"]["page"] == params["assert"] assert r["data"]["page"] == params["assert"]
......
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