From 2dbcaf859f680af07d49b7e632b116edd40ebff7 Mon Sep 17 00:00:00 2001 From: Jonas Lundberg Date: Mon, 18 Nov 2019 13:16:06 +0100 Subject: [PATCH] Document mocking compatibility (#537) --- docs/compatibility.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/compatibility.md b/docs/compatibility.md index 250a02cd..7b2b3911 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -32,3 +32,7 @@ with httpx.Client(**kwargs) as client: ``` More detailed documentation and usage of `Client` can be found in [Advanced Usage](advanced.md). + +## Mocking + +If you need to mock HTTPX the same way that test utilities like `responses` and `requests-mock` does for `requests`, see [RESPX](https://github.com/lundberg/respx). -- 2.47.3