--- id: pytest-httpx version: "0.36.2" license: MIT License Copyright (c) 2026 Colin Bounouar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to… (full text in the JSON record) license_treatment: permissive maintenance: active --- # pytest-httpx — Send responses to httpx. License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install pytest-httpx uv add pytest-httpx poetry add pytest-httpx ## Description

Send responses to HTTPX using pytest

pypi version Build status Coverage Code style: black Number of tests Number of downloads

> [!NOTE] > Version 1.0.0 will be released once httpx is considered as stable (release of 1.0.0). > > However, current state can be considered as stable. Once installed, `httpx_mock` [`pytest`](https://docs.pytest.org/en/latest/) fixture will make sure... ## AI interpretation — verify before relying A pytest fixture that mocks httpx HTTP requests and responses during testing, allowing you to define and verify request/response behavior without hitting real endpoints. Verdict: Stable, well-maintained testing utility for httpx with permissive MIT licensing and no known vulnerabilities. Suitable for projects that need to mock HTTP interactions in pytest; active development and high test coverage provide confidence in reliability. [View on SkillFed](https://skillfed.io/packages/pytest-httpx) · [View on PyPI](https://pypi.org/project/pytest-httpx/)