runner = unittest.TextTestRunner()itersuite = unittest.TestLoader().loadTestsFromTestCase(MyTestClass)runner.run(itersuite)
代替:
unittest.main()
欢迎分享,转载请注明来源:内存溢出
runner = unittest.TextTestRunner()itersuite = unittest.TestLoader().loadTestsFromTestCase(MyTestClass)runner.run(itersuite)
代替:
unittest.main()
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)