aboutcode-org / aboutcode-org/fetchcode

Some unit tests depends on external services

未关闭
#188 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
HTML
星标
13
派生
24
PR 合并指标
30 天内没有已合并 PR

描述

Tests such as:
tests/test_fetch.py::test_resolve_purl_using_purl2url
tests/test_package.py::test_cocoapods_packages

needs an internet connection to fetch data on external services.
Instead, the test should all pass even when isolated from internet. Use mock instead.

Also, a default timeout should be enforced on all `requests` calls.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。