python3-aiointercept
mock HTTP request interceptor for aiohttp clients
Description
This library registers expected HTTP requests and serves configured responses from a local test server. It can match requests by URL, HTTP method, or regular expression, then return status codes, headers, raw bodies, JSON payloads, reason phrases, or callback-generated responses. Requests are received by the local server and recorded for later inspection. The recorded data includes method, normalized URL, headers, query parameters, and request body. Helpers are provided for checking whether particular requests were made. The library can be used as a context manager, decorator, or pytest fixture. In its default mode, client code is pointed at the local server URL. It can also patch DNS resolution so configured external hostnames are directed to the local server, with optional passthrough rules for selected hosts or unmatched requests.Upload more screenshots
Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.
Upload a screenshotHint: upload an image here from your clipboard with Ctrl-V
Homepage
https://github.com/Polandia94/aiointercept
Install this software package
If the package is available for the distribution you are currently using on your computer then install the software by clicking on…
Install python3-aiointercept