pytest-httpx
JSON →pytest-httpx is a pytest fixture that provides a convenient way to mock HTTPX requests within test cases. It supports both synchronous and asynchronous HTTPX requests, allowing developers to define custom responses, status codes, headers, and simulate various HTTP conditions without making actual network calls. The library is currently at version 0.36.0 and is considered stable, with version 1.0.0 planned for release once HTTPX itself reaches 1.0.0.
Traffic · last 30 days ↑300% vs prev 7d
total hits 12
actors 4 distinct systems
last hit 1d ago GPTBot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇮🇳 India
Resources
API endpoints
full doc /v1/registry/pytest-httpx
compatibility /v1/registry/pytest-httpx/compatibility