]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Document mocking compatibility (#537)
authorJonas Lundberg <jonas@5monkeys.se>
Mon, 18 Nov 2019 12:16:06 +0000 (13:16 +0100)
committerTom Christie <tom@tomchristie.com>
Mon, 18 Nov 2019 12:16:06 +0000 (12:16 +0000)
docs/compatibility.md

index 250a02cdc315a3259340bfaa3cc2283dd2f7c71b..7b2b3911922a1db366ff69338dd8f58961e30175 100644 (file)
@@ -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).