def main(*args, **kwargs):
# pylint: disable=g-doc-args
"""Executes a set of Python unit tests.
Usually this function is called without arguments, so the
unittest.TestProgram instance will get created with the default settings,
so it will run all test methods of all TestCase classes in the __main__
module.
Args:
args: Positional arguments passed through to unittest.TestProgram.__init__.
kwargs: Keyword arguments passed through to unittest.TestProgram.__init__.
"""
# pylint: enable=g-doc-args
_RunInApp(RunTests, args, kwargs)
评论列表
文章目录