xuexi
Luke___Wang
一个很普通的人
展开
-
对于nose中的装饰器make_decorator的理解
nose.tools.make_decorator(func)Wraps a test decorator so as to properly replicate metadata of the decorated function, including nose’s additional stuff (namely, setup and teardown)原创 2017-09-21 00:27:22 · 301 阅读 · 0 评论 -
在Mac中配置Jenkins和Maven项目遇到的问题
配置jenkins原创 2017-10-01 14:36:33 · 1233 阅读 · 1 评论 -
学习httpbin源码记录(三)
我在阅读httpbin源代码的时候遇到了很多不理解的细节问题,然后就想最好的方法当然就是修改源码,然后去运行它后来经过尝试,我突然明白过来httpbin发布到github上的源码是以package的形式,而我不能直接运行package因为package中存在多处相对引用,使得不能像运行一个module那样直接运行,所以我就退而求其次,自己创建了一个flask工程原创 2017-10-02 23:04:56 · 467 阅读 · 0 评论 -
学习httpbin源码记录(四)
def semiflatten(multi): """Convert a MutiDict into a regular dict. If there are more than one value for a key, the result will have a list of values for the key. Otherwise it will have the原创 2017-10-03 22:01:29 · 297 阅读 · 0 评论 -
testng.xml格式错误导致的问题
如图所示我在testng.xml中配置脚本的运行集合时,一个不小心,违反了xml的格式导致文件上传以后,jenkins无法正常的使用这个文件去构建运行脚本。但是根据jenkins的反馈的错误信息,完全看不出来是testng.xml的格式有问题我觉得这算是一个可大可小的坑,所以记录下来,帮助遇到相同问题的朋友们做一个参考。原创 2017-12-28 21:26:34 · 1094 阅读 · 0 评论