def test_with_method_args(self):
@gen_test
def test_with_args(self, *args):
self.assertEqual(args, ('test',))
yield gen.Task(self.io_loop.add_callback)
test_with_args(self, 'test')
self.finished = True
testing_test.py 文件源码
python
阅读 21
收藏 0
点赞 0
评论 0
评论列表
文章目录