44 Star 427 Fork 192

7y / apiAutoTest

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
hooks.py 448 Bytes
一键复制 编辑 原始数据 按行查看 历史
7y 提交于 2022-02-28 00:37 . refactor:重构代码
import time
def get_current_highest():
"""获取当前时间戳"""
return int(time.time())
def sum_data(a, b):
"""计算函数"""
return a + b
def set_token(token: str):
"""设置token,直接返回字典"""
return {"Authorization": token}
def skip():
return True
def skip_if(user_id):
if user_id > 300:
return True
else:
return False
def sql():
return "select * from sp_goods;"
Python
1
https://gitee.com/zy7y/apiAutoTest.git
git@gitee.com:zy7y/apiAutoTest.git
zy7y
apiAutoTest
apiAutoTest
master

搜索帮助