lundberg / respx

Mock HTTPX with awesome request patterns and response side effects 🦋
https://lundberg.github.io/respx
BSD 3-Clause "New" or "Revised" License
581 stars 38 forks source link

Document that iterable side effects fallback to return value when exhausted #247

Closed lundberg closed 3 months ago

lundberg commented 7 months ago

Might not be obvious, but this works exactly like unittest mock. Doesn't hurt to make a note in the docs about this api usage.