Commit 5f3d0330 authored by 张伟男's avatar 张伟男

AI

parent 9dd8506d
......@@ -10,7 +10,7 @@ class TestRecomendServices:
data = BaseRequest().api_load(path_setting.ONEIMAGE_RECOMEND_SERVICES_DATA)
recomendservice_case, recomendservice_data = get_ids(data, "recomend_services")
@pytest.mark.skip("跳过测颜值根据五官推荐美购,目前数据是参数是线上的-------------------")
# @pytest.mark.skip("跳过测颜值根据五官推荐美购,目前数据是参数是线上的-------------------")
@pytest.mark.parametrize("param",recomendservice_data,ids=recomendservice_case)
def test_recomend_services(self,param):
r = oneimage_request().recomend_services(param["version"], param["business_tags_names"])
......
......@@ -13,7 +13,7 @@ class TestShareV4:
data = BaseRequest().api_load(path_setting.ONEIMAGE_SHARE_V4_DATA)
sharev4_case, sharev4_data = get_ids(data, "share_v4")
@pytest.mark.skip("跳过,测颜值结果v4,目前数据是线上的-------------------")
# @pytest.mark.skip("跳过,测颜值结果v4,目前数据是线上的-------------------")
@pytest.mark.parametrize("param",sharev4_data,ids=sharev4_case)
def test_share_v4(self,param):
r = oneimage_request().share_v4(param["version"], param["face_id"])
......
......@@ -3,5 +3,5 @@ recomend_services:
-
case: "请求成功,返回个数正确"
version: "7.42.2"
business_tags_names: '[["玻尿酸垫下巴","自体脂肪垫下巴","硅胶垫下巴","膨体垫下巴"],["半永久纹眉","植眉"]]'
assert: 2
\ No newline at end of file
business_tags_names: '[["鼻翼缩小","玻尿酸隆鼻","耳软骨隆鼻","鼻中隔软骨隆鼻"]]'
assert: 1
\ No newline at end of file
......@@ -3,5 +3,5 @@ share_v4:
-
case: "请求成功,有数据返回"
version: "7.42.2"
face_id: "27320150"
face_id: "15844721"
assert: 0
\ No newline at end of file
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