Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
on_line_product
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
邓莹莹
on_line_product
Commits
5c6567aa
Commit
5c6567aa
authored
Aug 24, 2021
by
邓莹莹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改断言结果
parent
45cbf366
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
get_cookie.txt
in_common/get_cookie.txt
+2
-2
test_diary_cards.py
test_backend_case/eyelids_case/test_diary_cards.py
+1
-1
test_recommend_service.py
test_backend_case/skin_case/test_recommend_service.py
+1
-3
No files found.
in_common/get_cookie.txt
View file @
5c6567aa
_gtid=bfe7ab6303eb11ecb7c39e5bde4093e8181;sessionid=h25duaic55gseudqxcyuzxsn00voufvu
\ No newline at end of file
_gtid=add2928a03f811ecbb4dca44d4790cf29387;sessionid=nzz8aourtz4q3et01effi7ovggch4qc2
\ No newline at end of file
test_backend_case/eyelids_case/test_diary_cards.py
View file @
5c6567aa
...
...
@@ -16,7 +16,7 @@ class TestDiaryCards:
r
=
eyelids_request
()
.
diary_cards
(
param
[
"current_city_id"
],
param
[
"page"
],
param
[
"page_size"
],
param
[
"tag_names"
])
print
(
"返回结果"
,
r
)
assert
r
[
"error"
]
==
0
assert
len
(
r
[
"data"
])
==
10
test_backend_case/skin_case/test_recommend_service.py
View file @
5c6567aa
...
...
@@ -16,6 +16,4 @@ class TestSkinRecommendServices:
r
=
skin_request
()
.
skin_recommend_service
(
param
[
"device_id"
],
param
[
"current_city_id"
],
param
[
"appeal_tag_ids"
],
param
[
"offset"
],
param
[
"size"
])
print
(
"返回结果"
,
r
)
if
r
[
"error"
]
==
0
:
services
=
r
[
"data"
][
"services"
]
assert
len
(
services
)
==
param
[
"assert_nums"
]
assert
r
[
'error'
]
==
0
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