04 2018 档案

摘要:unittest.main()执行之后来到unittest.main.TestProgram类的__init__方法,__init__方法中的self.parseArgs(argv)有方法self.createTests()createTests方法中:self.test = self.testLo 阅读全文
posted @ 2018-04-27 15:34 jec1999 阅读(835) 评论(0) 推荐(0)
摘要:"""A class whose instances are single test cases. By default, the test code itself should be placed in a method named 'runTest'. If the fixture may be 阅读全文
posted @ 2018-04-27 14:11 jec1999 阅读(185) 评论(0) 推荐(0)