test_coveralls_service.py 文件源码

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

项目:flash_services 作者: textbook 项目源码 文件源码
def test_format_build_missing_data(service):
    responses.add(
        responses.GET,
        'https://coveralls.io/foo/bar/baz.json?page=1',
        json=dict(builds=[{}]),
    )

    result = service.update()

    assert result['builds'][0] == dict(
        author='<no author>',
        committed='time not available',
        coverage=None,
        message_text=None,
        raw_coverage=None,
    )
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号