Skip to content

Some unit tests depends on external services #188

Description

@tdruez

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions