test_cookiecutter.py 文件源码

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

项目:dvhb-backend-cookiecutter 作者: dvhbru 项目源码 文件源码
def check_project_result(result):
    """
    Method to common project baking verification
    """
    assert result.exit_code == 0
    assert result.exception is None
    assert result.project.isdir()

    # Check project with flake8
    try:
        sh.flake8(str(result.project))
    except sh.ErrorReturnCode as e:
        pytest.fail(e)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号