摘要:
from yuncs.HTMLTestRunner import HTMLTestRunner#导入要执行的类名from cssaas.show_yg import showygimport unittest# 加载case到套件里suite = unittest.TestSuite()suite. 阅读全文
posted @ 2021-06-25 08:29
v3174
阅读(80)
评论(0)
推荐(0)
摘要:
import unittestimport parameterized#这个方法的作用可以理解为一种 按什么方式进行操作def my_sum(a,b): a += 1 b += 2 return a + bclass TestSum(unittest.TestCase): def setUp(sel 阅读全文
posted @ 2021-06-25 08:04
v3174
阅读(121)
评论(0)
推荐(0)
摘要:
import requestsimport json def token_user():# url 是请求的地址 URL = "http://localhost:8080/api/sys/login"# data 是请求的参数 data = { "mobile": "13800000002", "p 阅读全文
posted @ 2021-06-25 07:58
v3174
阅读(70)
评论(0)
推荐(0)
浙公网安备 33010602011771号