RafaelWO / unparallel

Create async web requests via Python in no time.
https://rafaelwo.github.io/unparallel/
MIT License
10 stars 0 forks source link

Refactor tests and mock URLs #169

Closed RafaelWO closed 6 months ago

RafaelWO commented 6 months ago

Description

This PR fixes the issue of errors in the test suite while testing the code snippets in the docs. Since I used real services/APIs in the examples, the tests relied on them being up and healthy but sometimes they were not reachable (see e.g. this job)

This PR introduces a logic to find the URLs in the examples and mock them so that we don't rely on the real services.

Changes

Related Issue

N/A

Type of Change

Checklist