Package: python3-aiointercept
Source: python-aiointercept
Version: 0.1.8-1
Architecture: all
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Home Assistant Team <team+homeassistant@tracker.debian.org>
Installed-Size: 79
Depends: python3-aiohttp, python3-multidict, python3-yarl, python3:any
Section: python
Priority: optional
Homepage: https://github.com/Polandia94/aiointercept
Description: mock HTTP request interceptor for aiohttp clients
 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.
