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
55639f8a
Commit
55639f8a
authored
Mar 05, 2021
by
刘丙寅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化代码
parent
54a877e8
Hide 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 @
55639f8a
...
...
@@ -23,10 +23,10 @@ class Case(unittest.TestCase):
}
cookies
=
{
"session_key"
:
"nobskse0lscrgyj1iw3294h9lt0dbp7m"
}
result
=
requests
.
post
(
url
=
URL
,
cookies
=
cookiejar_from_dict
(
cookies
),
data
=
body
,
verify
=
False
)
assert_method
.
status_code
(
result
)
res
=
result
.
json
()
print
(
res
)
res
=
res
.
get
(
"data"
)
resl
=
len
(
res
)
pprint
(
res
)
print
(
resl
)
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