aboutcode-org / aboutcode-org/fetchcode
Some unit tests depends on external services
Aberta
- Linguagem predominante
- HTML
- Estrelas
- 13
- Forks
- 24
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.