上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页
摘要: 原文地址:https://github.com/kirang89/pycrumbs/blob/master/pycrumbs.md https://blog.csdn.net/Together_CZ/article/details/65934646 阅读全文
posted @ 2020-08-05 14:27 峡谷恶霸 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 类方式的用例,nose 会针对每个fuction 所在的class进行初始化!!! 阅读全文
posted @ 2020-08-05 12:32 峡谷恶霸 阅读(237) 评论(0) 推荐(0) 编辑
摘要: __new__() 是在新式类中新出现的方法,在 Python 中类实例化时,__new__()方法用在 __init__() 启动之前,决定是否要使用该 __init__() 方法,因为__new__() 可以调用其他类的构造方法或者直接返回别的对象来作为本类的实例。特性总结: __new__() 阅读全文
posted @ 2020-08-05 12:18 峡谷恶霸 阅读(118) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/nyist-xsk/p/8286941.html 阅读全文
posted @ 2020-08-05 12:10 峡谷恶霸 阅读(187) 评论(0) 推荐(0) 编辑
摘要: class testa(): def __init__(self): print("__init__ was called!") def setup(self): print("setup was called") def teardown(self): print("teardown was ca 阅读全文
posted @ 2020-08-05 11:21 峡谷恶霸 阅读(97) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/63f09d1221a8 https://blog.csdn.net/cassiepython/article/details/76653897 阅读全文
posted @ 2020-08-05 10:46 峡谷恶霸 阅读(78) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/mojiexiaolong/p/6828616.html 阅读全文
posted @ 2020-08-05 10:34 峡谷恶霸 阅读(79) 评论(0) 推荐(0) 编辑
摘要: if __name__ == '__main__': nose.runmodule() 阅读全文
posted @ 2020-08-04 17:33 峡谷恶霸 阅读(128) 评论(0) 推荐(0) 编辑
摘要: [root@esg-server-578 falut-test]# nosetests --help | grep fail -x, --stop Stop running tests after the first error or failure --pdb Drop into debugger 阅读全文
posted @ 2020-08-03 15:27 峡谷恶霸 阅读(141) 评论(0) 推荐(0) 编辑
摘要: https://www.zhihu.com/question/314112690 关键点就一个:要在虚拟环境里安装pyinstaller 如果你没有在虚拟环境中安装pyinstaller,你同样可以使用pyinstaller命令,但是调用的是你系统原本的那个python编译器,内含很多关联库,导致即 阅读全文
posted @ 2020-08-03 12:43 峡谷恶霸 阅读(150) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页