From: Jonas Lundberg Date: Mon, 18 Nov 2019 12:16:06 +0000 (+0100) Subject: Document mocking compatibility (#537) X-Git-Tag: 0.7.8~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dbcaf859f680af07d49b7e632b116edd40ebff7;p=thirdparty%2Fhttpx.git Document mocking compatibility (#537) --- 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).