deb_control_files:
- control
- md5sums
- postinst
- prerm
deb_fields:
Architecture: all
Depends: python3-httpx, python3-pytest, python3:any
Description: |-
Intercept and mock HTTPX requests in pytest
Provides an `httpx_mock` fixture for the pytest framework. This fixture allows
you to intercept and mock HTTP requests made using the HTTPX library. It
supports both synchronous and asynchronous HTTPX requests, enabling you to
define custom responses, including JSON bodies, headers, status codes, and
more.
.
This library is useful for testing scenarios where making actual network calls
is not feasible or desired. You can simulate various HTTP responses and
conditions, ensuring your code handles them correctly. Additionally,
pytest-httpx supports dynamic responses via callbacks, request verification,
and partial mocking, allowing specific requests to go through unmocked.
.
Ideal for developers needing to test HTTP interactions in their applications
without relying on external services.
Homepage: https://github.com/Colin-b/pytest_httpx
Installed-Size: '100'
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Package: python3-pytest-httpx
Priority: optional
Section: python
Source: pytest-httpx
Version: 0.33.0-1
srcpkg_name: pytest-httpx
srcpkg_version: 0.33.0-1