test_filters.py 文件源码

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

项目:repocribro 作者: MarekSuchanek 项目源码 文件源码
def test_gh_repo_link():
    repo = Repository(777, None, 'some/repo', 'repo', 'C++', '', '',
                      False, None, None, Repository.VISIBILITY_PRIVATE)
    result = gh_repo_link(repo)
    assert repo.full_name in result
    assert 'https://github.com' in result
    assert isinstance(result, jinja2.Markup)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号