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
14eeef28
Commit
14eeef28
authored
Jul 14, 2021
by
张慧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复数据问题
parent
5620ae0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
test_doctor.py
test_backend_case/hospitals_case/test_doctor.py
+1
-1
doctor.yaml
test_backend_data/hospitals_data/doctor.yaml
+7
-6
No files found.
test_backend_case/hospitals_case/test_doctor.py
View file @
14eeef28
...
...
@@ -18,7 +18,7 @@ class TestDoctor:
assert
r
[
"data"
][
0
][
"id"
]
==
param
[
"assert_id"
]
assert
r
[
"data"
][
0
][
"doctor_name"
]
==
param
[
"assert_name"
]
assert
r
[
"data"
][
0
][
"good_at"
][
0
]
==
param
[
"assert_good_at"
]
assert
r
[
"data"
][
0
][
"cases"
][
0
][
"name"
]
==
param
[
"assert_cases"
]
#
assert r["data"][0]["cases"][0]["name"] == param["assert_cases"]
assert
r
[
"data"
][
0
][
"title"
]
==
param
[
"assert_title"
]
...
...
test_backend_data/hospitals_data/doctor.yaml
View file @
14eeef28
...
...
@@ -5,7 +5,7 @@ doctor:
assert_id
:
"
ad99d0b0b6eb4a2c97ffadad48b7cdfd"
assert_name
:
"
赵希军"
assert_good_at
:
"
吸脂瘦身"
assert_cases
:
"
自体脂肪填充面部
80例"
#
assert_cases: "自体脂肪填充面部 80例"
assert_title
:
"
副主任"
-
case
:
"
校验医生id
case"
...
...
@@ -13,7 +13,7 @@ doctor:
assert_id
:
"
ad99d0b0b6eb4a2c97ffadad48b7cdfd"
assert_name
:
"
赵希军"
assert_good_at
:
"
吸脂瘦身"
assert_cases
:
"
自体脂肪填充面部
80例"
#
assert_cases: "自体脂肪填充面部 80例"
assert_title
:
"
副主任"
-
case
:
"
校验医生名称case"
...
...
@@ -21,7 +21,7 @@ doctor:
assert_id
:
"
ad99d0b0b6eb4a2c97ffadad48b7cdfd"
assert_name
:
"
赵希军"
assert_good_at
:
"
吸脂瘦身"
assert_cases
:
"
自体脂肪填充面部
80例"
#
assert_cases: "自体脂肪填充面部 80例"
assert_title
:
"
副主任"
-
case
:
"
校验医生明星项目case"
...
...
@@ -29,7 +29,7 @@ doctor:
assert_id
:
"
ad99d0b0b6eb4a2c97ffadad48b7cdfd"
assert_name
:
"
赵希军"
assert_good_at
:
"
吸脂瘦身"
assert_cases
:
"
自体脂肪填充面部
80例"
#
assert_cases: "自体脂肪填充面部 80例"
assert_title
:
"
副主任"
-
case
:
"
校验医生案例case"
...
...
@@ -37,7 +37,7 @@ doctor:
assert_id
:
"
ad99d0b0b6eb4a2c97ffadad48b7cdfd"
assert_name
:
"
赵希军"
assert_good_at
:
"
吸脂瘦身"
assert_cases
:
"
自体脂肪填充面部
80例"
#
assert_cases: "自体脂肪填充面部 80例"
assert_title
:
"
副主任"
-
case
:
"
校验医生title
case"
...
...
@@ -45,5 +45,5 @@ doctor:
assert_id
:
"
ad99d0b0b6eb4a2c97ffadad48b7cdfd"
assert_name
:
"
赵希军"
assert_good_at
:
"
吸脂瘦身"
assert_cases
:
"
自体脂肪填充面部
80例"
#
assert_cases: "自体脂肪填充面部 80例"
assert_title
:
"
副主任"
\ 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