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
✅ Mock hosts in tests and limit max requests in example tests
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
CODE_OF_CONDUCT.md
document.CONTRIBUTING.md
guide.make codestyle
.