懒羊羊softwaretesting

导航

2019年2月22日 #

调用公共方法样例

摘要: import unittestfrom public_method.test_public_get import test_public_getfrom public_method.test_public_post import test_public_post# 在写测试类以及测试用例时要规定一个 阅读全文

posted @ 2019-02-22 21:23 懒羊羊呐 阅读(165) 评论(0) 推荐(0) 编辑

重载方法写delete请求

摘要: #encoding=utf-8#__author__="Lanyangyang"import unittestimport requestsimport json# This is a public delete method.def test_public_delete(self, url, pa 阅读全文

posted @ 2019-02-22 20:21 懒羊羊呐 阅读(149) 评论(0) 推荐(0) 编辑

重载的方式写Python的post请求

摘要: #encoding=utf-8#__author__="Lanyangyang"import unittestimport requestsimport json# This is a public post method.def test_public_post(self, url, path, 阅读全文

posted @ 2019-02-22 20:08 懒羊羊呐 阅读(247) 评论(0) 推荐(0) 编辑

重载的方式写Python的get请求

摘要: #encoding=utf-8#__author__="Lanyangyang"import unittestimport requestsimport json# This is a public get method.def test_public_get(self, url, path, pa 阅读全文

posted @ 2019-02-22 20:06 懒羊羊呐 阅读(377) 评论(0) 推荐(0) 编辑