Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
backend_auto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
邓莹莹
backend_auto
Commits
5f3d0330
Commit
5f3d0330
authored
Apr 23, 2021
by
张伟男
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AI
parent
9dd8506d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
test_recomend_services.py
test_backend_case/oneimage_case/test_recomend_services.py
+1
-1
test_share_v4.py
test_backend_case/oneimage_case/test_share_v4.py
+1
-1
recomend_services.yaml
test_backend_data/oneimage_data/recomend_services.yaml
+3
-3
share_v4.yaml
test_backend_data/oneimage_data/share_v4.yaml
+2
-1
No files found.
test_backend_case/oneimage_case/test_recomend_services.py
View file @
5f3d0330
...
...
@@ -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"
])
...
...
test_backend_case/oneimage_case/test_share_v4.py
View file @
5f3d0330
...
...
@@ -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"
])
...
...
test_backend_data/oneimage_data/recomend_services.yaml
View file @
5f3d0330
...
...
@@ -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
test_backend_data/oneimage_data/share_v4.yaml
View file @
5f3d0330
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment