test.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:USTC-Software-2017 作者: igemsoftware2017 项目源码 文件源码
def add_arguments(self, parser):
        parser.add_argument(
            'files',
            nargs=argparse.REMAINDER,
            help='You may specify the test files/directories to be executed.'
        )
        parser.add_argument(
            '--recreate',
            action='store_true',
            dest='recreate',
            default=False,
            help='Recreate test database (will slow down the test process), '
            'used when the database schema changed.'
        )
        parser.add_argument(
            '--capture-stdout', '-cs',
            action='store_true',
            default=False,
            dest='capture_stdout',
            help='Tell pytest to capture stdout when certain tests fail.')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号