test_cookiecutter_generation.py 文件源码

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

项目:cookiecutter-django-reactjs 作者: genomics-geek 项目源码 文件源码
def test_flake8_compliance(cookies):
    """generated project should pass flake8"""
    result = cookies.bake()

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


问题


面经


文章

微信
公众号

扫码关注公众号