Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm-zhuanzhen-test
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
刘丙寅
gm-zhuanzhen-test
Commits
462e9b29
Commit
462e9b29
authored
Mar 05, 2021
by
刘丙寅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除调试代码
parent
8d6e0dc7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
case_zhuanzhen_celue.py
case/case_zhuanzhen_celue.py
+2
-2
No files found.
case/case_zhuanzhen_celue.py
View file @
462e9b29
...
...
@@ -10,6 +10,7 @@ class Case(unittest.TestCase):
def
test_01
(
self
):
'转诊策略派单召回数据校验'
host
=
interface
.
host
url
=
interface
.
recommend_hospitals
URL
=
host
+
url
...
...
@@ -25,8 +26,7 @@ class Case(unittest.TestCase):
result
=
requests
.
post
(
url
=
URL
,
cookies
=
cookiejar_from_dict
(
cookies
),
data
=
body
,
verify
=
False
)
assert_method
.
status_code
(
result
)
res
=
result
.
json
()
print
(
res
)
p
p
rint
(
res
)
res
=
res
.
get
(
"data"
)
resl
=
len
(
res
)
assert
resl
==
6
,
"转诊策略派单数据不足6条 获取到:
%
s"
%
resl
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