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
c135be8d
Commit
c135be8d
authored
Apr 19, 2021
by
edz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
医生后台商品查询
parent
37c99e71
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
test_service_list.py
test_doctor_case/web2_case/test_service_list.py
+1
-0
service_list.yaml
test_doctor_data/web2_data/service_list.yaml
+1
-1
No files found.
test_doctor_case/web2_case/test_service_list.py
View file @
c135be8d
...
@@ -14,6 +14,7 @@ class TestServiceList:
...
@@ -14,6 +14,7 @@ class TestServiceList:
def
test_ServiceList
(
self
,
params
):
def
test_ServiceList
(
self
,
params
):
r
=
web2_request
()
.
service_list
(
params
[
'page'
],
params
[
'pagesize'
],
params
[
'is_online'
])
r
=
web2_request
()
.
service_list
(
params
[
'page'
],
params
[
'pagesize'
],
params
[
'is_online'
])
if
r
[
"error"
]
==
0
:
if
r
[
"error"
]
==
0
:
assert
r
[
"data"
][
"page"
]
==
params
[
"assert"
]
assert
r
[
"data"
][
"page"
]
==
params
[
"assert"
]
elif
r
[
"error"
]
==
1
:
elif
r
[
"error"
]
==
1
:
...
...
test_doctor_data/web2_data/service_list.yaml
View file @
c135be8d
...
@@ -5,4 +5,4 @@ service_list:
...
@@ -5,4 +5,4 @@ service_list:
page
:
"
1"
page
:
"
1"
pagesize
:
"
10"
pagesize
:
"
10"
is_online
:
"
-1"
is_online
:
"
-1"
assert
:
"
1"
assert
:
1
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