Paquet : python3-pytest-httpx (0.30.0-2)
Liens pour python3-pytest-httpx
Ressources Debian :
- Rapports de bogues
- Developer Information
- Journal des modifications Debian
- Fichier de licence
- Suivis des correctifs pour Debian
Télécharger le paquet source pytest-httpx :
Responsables :
Ressources externes :
- Page d'accueil [github.com]
Paquets similaires :
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.
Autres paquets associés à python3-pytest-httpx
|
|
|
|
-
- dep: python3
- langage orienté objet interactif de haut niveau – version par défaut de Python 3
-
- dep: python3-httpx
- next generation HTTP client
-
- dep: python3-pytest
- Simple, powerful testing in Python3
Télécharger python3-pytest-httpx
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 22,7 ko | 84,0 ko | [liste des fichiers] |