会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Stay Hungry,Stay Foolish!
lightsong
{Web: [React, Vue, NodeJS, HTTP],DevOps:[Jenkins,Docker,K8S], Languages:[Python, JS, C, Lua, Shell, Groovy]}
博客园
首页
新随笔
联系
订阅
管理
2022年10月28日
pytest solution for argparse application
摘要: 背景 pytest属于单元测试, 测试对象为模块函数, 对于argparse应用,需要带有参数进行测试的情况, 是否也可以将其对待为函数,带有测试的参数? 答案是可以的。 Example https://github.com/simonw/stream-delay/tree/0.1 例如, 此pac
阅读全文
posted @ 2022-10-28 23:59 lightsong
阅读(139)
评论(0)
推荐(0)
编辑
公告
Life Is Short, We Need Ship To Travel