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
5bc354ec
Commit
5bc354ec
authored
Jul 16, 2021
by
林颖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发帖子--选择标签,医院,订单---补充
parent
326a62cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
test_to_service_list.py
test_backend_case/topic_case/test_to_service_list.py
+21
-0
to_service_list.yaml
test_backend_data/topic_data/to_service_list.yaml
+0
-1
No files found.
test_backend_case/topic_case/test_to_service_list.py
0 → 100644
View file @
5bc354ec
# 等之后把用户账号和医生账号切换了再写上去--目前医生不走这个接口
# import pytest
# from ids_list import get_ids
# import path_setting
# from in_common.base_request import BaseRequest
# from all_backend_api.topic_request import topic_request
#
#
# class TestToServiceList:
# data = BaseRequest().api_load(path_setting.TRACTATE_SERVICE)
# to_service_list_case, to_service_list_data = get_ids(data,"to_service_list")
#
# @pytest.mark.parametrize("param", to_service_list_data, ids=to_service_list_case)
# def test_to_hospital_list(self,param):
# r = topic_request().to_service_list()
# assert r["error"] == 0 # 这个接口没啥可以校验的,简单的不报错就行。
#
# # assert len(r["data"]) > 0
# # if r["error"] == 0:
# # assert r["data"]["result"] is True
\ No newline at end of file
test_backend_data/topic_data/to_service_list.yaml
View file @
5bc354ec
...
@@ -2,7 +2,6 @@ to_service_list:
...
@@ -2,7 +2,6 @@ to_service_list:
#帖子撰写时选择美购
#帖子撰写时选择美购
-
-
case
:
"
帖子详情页--撰写内容时选择购买过的美购"
case
:
"
帖子详情页--撰写内容时选择购买过的美购"
assert
:
0
assert
:
0
message
:
"
美
+1"
message
:
"
美
+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