![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pytest+allure
test明成长记
这个作者很懒,什么都没留下…
展开
-
记录一下request的简单用法
记录一下request的简单用法import requestsimport json"""首先保证单个接口的通过性"""def api_dl(): api_url = 'http://demo.phalapi.net/?s=App.Site.Index' api_body = {'username': 'PhalApi'} data_header= {} res = requests.post(api_url, json=api_body) res1=r原创 2021-12-18 22:32:03 · 213 阅读 · 0 评论 -
python +pytest+allure笔记(方便自己copy)
方便自己copy原创 2021-12-18 22:23:23 · 1623 阅读 · 2 评论