def suite():
s = unittest.TestSuite()
g = os.getcwd() + '/octagon/**.py'
for path in glob.iglob(g):
if os.path.basename(path) != "__init__.py":
s.addTest(OctagonTestCase(path))
runner = unittest.TextTestRunner()
runner.run(s)
评论列表
文章目录