Commit 462e9b29 authored by 刘丙寅's avatar 刘丙寅

删除调试代码

parent 8d6e0dc7
......@@ -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)
pprint(res)
res = res.get("data")
resl = len(res)
assert resl == 6,"转诊策略派单数据不足6条 获取到:%s" %resl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment