# 等之后把用户账号和医生账号切换了再写上去--目前医生不走这个接口
# 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