test_integration.py 文件源码

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

项目:sphinxcontrib-redoc 作者: ikalnytskyi 项目源码 文件源码
def test_redocjs_lib_is_copied(sphinxdocs):
    srcdir, outdir = sphinxdocs
    extdir = py.path.local(
        pkg_resources.get_provider('sphinxcontrib.redoc').module_path)

    assert outdir.join('_static', 'redoc.js').check()
    assert outdir.join('_static', 'redoc.js').computehash() \
        == extdir.join('redoc.js').computehash()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号