pytest-httpx 0.30.0-2 source package in Ubuntu
Changelog
pytest-httpx (0.30.0-2) unstable; urgency=medium * Source-only upload to allow package to migrate to testing. * Update Standards-Version. -- Edward Betts <edward@4angle.com> Thu, 06 Jun 2024 09:35:55 +0100
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
pytest-httpx_0.30.0-2.dsc | 2.2 KiB | 52885803dc47cef0b2b133676a14b678074ecc9e42ce4ce2246a99f3750ef0df |
pytest-httpx_0.30.0.orig.tar.gz | 28.3 KiB | 857e8bf0a940314aaea107da56add7783837850c2e5e12b6ad7ce5ac9ff5130a |
pytest-httpx_0.30.0-2.debian.tar.xz | 3.1 KiB | 955c34fd939532cf78810372e2fa70e266b119c2c1b8c823e4d95add4dd5f50d |
Available diffs
- diff from 0.30.0-1 to 0.30.0-2 (544 bytes)
No changes file available.
Binary packages built by this source
- python3-pytest-httpx: 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.